public class FileReader extends AbstractFileReader
AnalysisEngine to
retrieve the actual file and process it.JCas.documentText is set yet, the first
AnalysisEngine must do that| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_ID |
directoryIterator, fileExtensionFilter, fileIterator, inputDir, isRecursive, LOG| Constructor and Description |
|---|
FileReader() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.collection.CollectionReader |
getCR(String inputDir) |
void |
getNext(org.apache.uima.jcas.JCas jcas) |
getProgress, hasNext, initializeclose, getLogger, getNext, initializedestroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String COMPONENT_ID
public void getNext(org.apache.uima.jcas.JCas jcas)
throws IOException,
org.apache.uima.collection.CollectionException
getNext in class org.apache.uima.fit.component.JCasCollectionReader_ImplBaseIOExceptionorg.apache.uima.collection.CollectionExceptionpublic static org.apache.uima.collection.CollectionReader getCR(String inputDir) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationExceptionCopyright © 2015 Bluebrain Project. All rights reserved.