Tesseract-android-tools  1.0
 Todo Clases Namespaces Archivos Funciones Variables
Métodos públicos | Funciones del 'package' | Funciones estáticas del 'package' | Métodos privados estáticos | Atributos privados
Referencia de la Clase com.googlecode.tesseract.android.PageIterator

Interfaz Java para PageIterator. No implementa todos los métodos disponibles JNI, pero implementa suficientes para ser útil. Más...

Diagrama de herencias de com.googlecode.tesseract.android.PageIterator
Inheritance graph
[significado de colores y flechas]

Lista de todos los miembros.

Métodos públicos

void begin ()
 Resets the iterator to point to the start of the page.
boolean next (int level)
 Moves to the start of the next object at the given level in the page hierarchy, and returns false if the end of the page was reached.

Funciones del 'package'

 PageIterator (int nativePageIterator)

Funciones estáticas del 'package'

 [static initializer]

Métodos privados estáticos

static native void nativeBegin (int nativeIterator)
static native boolean nativeNext (int nativeIterator, int level)

Atributos privados

final int mNativePageIterator
 Pointer to native page iterator.

Descripción detallada

Interfaz Java para PageIterator. No implementa todos los métodos disponibles JNI, pero implementa suficientes para ser útil.

Definición en la línea 35 del archivo PageIterator.java.


Documentación del constructor y destructor

com.googlecode.tesseract.android.PageIterator.PageIterator ( int  nativePageIterator) [package]

Definición en la línea 44 del archivo PageIterator.java.


Documentación de las funciones miembro

com.googlecode.tesseract.android.PageIterator.[static initializer] ( ) [static, package]

Resets the iterator to point to the start of the page.

Definición en la línea 51 del archivo PageIterator.java.

Gráfico de llamadas para esta función:

static native void com.googlecode.tesseract.android.PageIterator.nativeBegin ( int  nativeIterator) [static, private]

Gráfico de llamadas a esta función:

static native boolean com.googlecode.tesseract.android.PageIterator.nativeNext ( int  nativeIterator,
int  level 
) [static, private]

Gráfico de llamadas a esta función:

Moves to the start of the next object at the given level in the page hierarchy, and returns false if the end of the page was reached.

NOTE that PageIteratorLevel#RIL_SYMBOL will skip non-text blocks, but all other PageIteratorLevel level values will visit each non-text block once. Think of non text blocks as containing a single para, with a single line, with a single imaginary word.

Calls to next with different levels may be freely intermixed.

This function iterates words in right-to-left scripts correctly, if the appropriate language has been loaded into Tesseract.

Parámetros:
levelthe page iterator level. See PageIteratorLevel.
Devuelve:
 false 
if the end of the page was reached,
 true 
otherwise.

Definición en la línea 77 del archivo PageIterator.java.

Gráfico de llamadas para esta función:


Documentación de los datos miembro

Pointer to native page iterator.

Definición en la línea 42 del archivo PageIterator.java.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables