Package de.julielab.jcore.reader.ct
Class ClinicalTrialsReader
- java.lang.Object
-
- org.apache.uima.resource.Resource_ImplBase
-
- org.apache.uima.resource.ConfigurableResource_ImplBase
-
- org.apache.uima.collection.CollectionReader_ImplBase
-
- org.apache.uima.fit.component.JCasCollectionReader_ImplBase
-
- de.julielab.jcore.reader.ct.ClinicalTrialsReader
-
- All Implemented Interfaces:
org.apache.uima.collection.base_cpm.BaseCollectionReader,org.apache.uima.collection.CollectionReader,org.apache.uima.resource.ConfigurableResource,org.apache.uima.resource.Resource
public class ClinicalTrialsReader extends org.apache.uima.fit.component.JCasCollectionReader_ImplBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_FILESstatic StringPARAM_INPUT_DIR
-
Constructor Summary
Constructors Constructor Description ClinicalTrialsReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidgetNext(org.apache.uima.jcas.JCas jCas)This method is called for each document going through the component.org.apache.uima.util.Progress[]getProgress()booleanhasNext()voidinitialize(org.apache.uima.UimaContext context)This method is called a single time by the framework at component creation.-
Methods inherited from class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
getLogger, getNext, initialize
-
Methods inherited from class org.apache.uima.collection.CollectionReader_ImplBase
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
-
Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
-
Methods inherited from class org.apache.uima.resource.Resource_ImplBase
getCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
PARAM_INPUT_DIR
public static final String PARAM_INPUT_DIR
- See Also:
- Constant Field Values
-
PARAM_FILES
public static final String PARAM_FILES
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationExceptionThis method is called a single time by the framework at component creation. Here, descriptor parameters are read and initial setup is done.- Overrides:
initializein classorg.apache.uima.fit.component.JCasCollectionReader_ImplBase- Throws:
org.apache.uima.resource.ResourceInitializationException
-
getNext
public void getNext(org.apache.uima.jcas.JCas jCas)
This method is called for each document going through the component. This is where the actual work happens.- Specified by:
getNextin classorg.apache.uima.fit.component.JCasCollectionReader_ImplBase
-
close
public void close()
- Specified by:
closein interfaceorg.apache.uima.collection.base_cpm.BaseCollectionReader- Overrides:
closein classorg.apache.uima.fit.component.JCasCollectionReader_ImplBase
-
getProgress
public org.apache.uima.util.Progress[] getProgress()
-
hasNext
public boolean hasNext()
-
-