public abstract class JCasCollectionReader_ImplBase extends CollectionReader_ImplBase
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_EXTERNAL_OVERRIDE_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
Constructor and Description |
---|
JCasCollectionReader_ImplBase() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.uima.fit.internal.ExtendedLogger |
getLogger() |
void |
getNext(CAS cas) |
abstract void |
getNext(JCas jCas)
Subclasses should implement this method rather than
getNext(CAS) |
void |
initialize() |
void |
initialize(UimaContext context)
This method should be overwritten by subclasses.
|
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProgress, hasNext
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
public org.apache.uima.fit.internal.ExtendedLogger getLogger()
getLogger
in interface Resource
getLogger
in class Resource_ImplBase
public final void initialize() throws ResourceInitializationException
initialize
in class CollectionReader_ImplBase
ResourceInitializationException
public void initialize(UimaContext context) throws ResourceInitializationException
ResourceInitializationException
- if a failure occurs during initialization.public final void getNext(CAS cas) throws IOException, CollectionException
IOException
CollectionException
public abstract void getNext(JCas jCas) throws IOException, CollectionException
getNext(CAS)
IOException
CollectionException
public void close() throws IOException
IOException
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.