|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AIDAComponentReader
Interface for classes that are components in a MIFSCompositeReader. The CompositeReader delegates the reading to its individual components.
Field Summary | |
---|---|
static java.lang.String |
MESSAGE_DIGEST
|
Method Summary | |
---|---|
void |
close()
Closes this MIFSComponentReader and any resources it may have opened. |
void |
getNext(org.apache.uima.cas.CAS cas)
Gets the next document etc. |
boolean |
hasNext()
Gets whether or not this MIFSComponentReader has more documents to process. |
void |
initialize(org.apache.uima.resource.ConfigurableResource resource,
java.util.Date cacheDateDate)
Initializes this MIFSComponentReader, optionally using the resource. |
Field Detail |
---|
static final java.lang.String MESSAGE_DIGEST
Method Detail |
---|
void initialize(org.apache.uima.resource.ConfigurableResource resource, java.util.Date cacheDateDate) throws org.apache.uima.resource.ResourceInitializationException
resource
- the resource to use for configuration
org.apache.uima.resource.ResourceInitializationException
- if there is an error initializing
the readervoid getNext(org.apache.uima.cas.CAS cas) throws java.io.IOException, org.apache.uima.collection.CollectionException
cas
- the CAS to put the document into
java.io.IOException
- if there is an error reading the document
org.apache.uima.collection.CollectionException
- if there is an error reading the documentboolean hasNext() throws java.io.IOException, org.apache.uima.collection.CollectionException
java.io.IOException
- if there is an error in determining if there are more docs to process.
org.apache.uima.collection.CollectionException
void close() throws java.io.IOException
java.io.IOException
- if there is an error closing the reader.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |