public abstract class JCasCollectionReader_ImplBase
extends org.apache.uima.collection.CollectionReader_ImplBase
| Constructor and Description |
|---|
JCasCollectionReader_ImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.uima.fit.internal.ExtendedLogger |
getLogger() |
void |
getNext(org.apache.uima.cas.CAS cas) |
abstract void |
getNext(org.apache.uima.jcas.JCas jCas)
Subclasses should implement this method rather than
getNext(CAS) |
void |
initialize() |
void |
initialize(org.apache.uima.UimaContext context)
This method should be overwritten by subclasses.
|
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProgress, hasNextpublic org.apache.uima.fit.internal.ExtendedLogger getLogger()
getLogger in interface org.apache.uima.resource.ResourcegetLogger in class org.apache.uima.resource.Resource_ImplBasepublic final void initialize()
throws org.apache.uima.resource.ResourceInitializationException
initialize in class org.apache.uima.collection.CollectionReader_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
context - the UIMA context the component is running inorg.apache.uima.resource.ResourceInitializationException - if a failure occurs during initialization.public final void getNext(org.apache.uima.cas.CAS cas)
throws IOException,
org.apache.uima.collection.CollectionException
IOExceptionorg.apache.uima.collection.CollectionExceptionpublic abstract void getNext(org.apache.uima.jcas.JCas jCas)
throws IOException,
org.apache.uima.collection.CollectionException
getNext(CAS)jCas - the JCas to store the read data toIOException - if there was a low-level I/O problemorg.apache.uima.collection.CollectionException - if there was another problempublic void close()
throws IOException
IOExceptionCopyright © 2012–2020 The Apache Software Foundation. All rights reserved.