Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes

org::apache::uima::examples::cpe::FileSystemCollectionReader Class Reference

Inheritance diagram for org::apache::uima::examples::cpe::FileSystemCollectionReader:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::examples::cpe::FileSystemCollectionReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void close () throws IOException
void destroy ()
CasInitializer getCasInitializer ()
CasManager getCasManager ()
Object getConfigParameterValue (String aGroupName, String aParamName)
Object getConfigParameterValue (String aParamName)
Logger getLogger ()
ResourceMetaData getMetaData ()
void getNext (CAS aCAS) throws IOException, CollectionException
int getNumberOfDocuments ()
ProcessingResourceMetaData getProcessingResourceMetaData ()
Progress[] getProgress ()
ResourceManager getResourceManager ()
UimaContext getUimaContext ()
UimaContextAdmin getUimaContextAdmin ()
boolean hasNext ()
void initialize () throws ResourceInitializationException
boolean initialize (ResourceSpecifier aSpecifier, Map< String, Object > aAdditionalParams) throws ResourceInitializationException
boolean isConsuming ()
void reconfigure () throws ResourceConfigurationException
void setCasInitializer (CasInitializer aCasInitializer)
void setConfigParameterValue (String aParamName, Object aValue)
void setConfigParameterValue (String aGroupName, String aParamName, Object aValue)
void setLogger (Logger aLogger)
void typeSystemInit (TypeSystem aTypeSystem) throws ResourceInitializationException

Static Public Attributes

static final String PARAM_AGGREGATE_SOFA_MAPPINGS = "AGGREGATE_SOFA_MAPPINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_ENCODING = "Encoding"
static final String PARAM_INPUTDIR = "InputDirectory"
static final String PARAM_LANGUAGE = "Language"
static final String PARAM_PERFORMANCE_TUNING_SETTINGS = "PERFORMANCE_TUNING_SETTINGS"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_SUBDIR = "BrowseSubdirectories"
static final String PARAM_UIMA_CONTEXT = "UIMA_CONTEXT"

Protected Member Functions

void setMetaData (ResourceMetaData aMetaData)

Private Member Functions

void addFilesFromDir (File dir)

Private Attributes

int mCurrentIndex
String mEncoding
ArrayList< File > mFiles
String mLanguage
Boolean mRecursive

Detailed Description

A simple collection reader that reads documents from a directory in the filesystem. It can be configured with the following parameters:

Definition at line 50 of file FileSystemCollectionReader.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index