chemaxon.naming
Class DocumentExtractor.ProgressInfo

java.lang.Object
  extended by chemaxon.naming.DocumentExtractor.ProgressInfo
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
DocumentExtractor

public static class DocumentExtractor.ProgressInfo
extends java.lang.Object
implements java.lang.Cloneable


Constructor Summary
DocumentExtractor.ProgressInfo()
           
 
Method Summary
 int getCharactersRead()
           
 long getEstimatedTotalCharacters()
          Return an estimation of the total number of characters in the document.
 int getHitsFound()
           
 int getWordsRead()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentExtractor.ProgressInfo

public DocumentExtractor.ProgressInfo()
Method Detail

getCharactersRead

public int getCharactersRead()

getWordsRead

public int getWordsRead()

getHitsFound

public int getHitsFound()

getEstimatedTotalCharacters

public long getEstimatedTotalCharacters()
Return an estimation of the total number of characters in the document. Because of character-encodings, the estimation can change while the document is being read.

Returns:
the estimated total number of characters, or -1 when there is no estimation.