public class StringReader
extends org.apache.uima.fit.component.JCasCollectionReader_ImplBase
JCasFactory.createJCas()
.Modifier and Type | Field and Description |
---|---|
static String |
PARAM_COLLECTION_ID
The collection ID to set in the
DocumentMetaData . |
static String |
PARAM_DOCUMENT_BASE_URI
The document base URI to set in the
DocumentMetaData . |
static String |
PARAM_DOCUMENT_ID
The document ID to set in the
DocumentMetaData . |
static String |
PARAM_DOCUMENT_TEXT
The document text.
|
static String |
PARAM_DOCUMENT_URI
The document URI to set in the
DocumentMetaData . |
static String |
PARAM_LANGUAGE
Set this as the language of the produced documents.
|
Constructor and Description |
---|
StringReader() |
Modifier and Type | Method and Description |
---|---|
void |
getNext(org.apache.uima.jcas.JCas sJCas) |
org.apache.uima.util.Progress[] |
getProgress() |
boolean |
hasNext() |
void |
initialize(org.apache.uima.UimaContext aContext) |
close, getLogger, getNext, initialize
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PARAM_LANGUAGE
public static final String PARAM_DOCUMENT_TEXT
public static final String PARAM_COLLECTION_ID
DocumentMetaData
.public static final String PARAM_DOCUMENT_ID
DocumentMetaData
.public static final String PARAM_DOCUMENT_BASE_URI
DocumentMetaData
.public static final String PARAM_DOCUMENT_URI
DocumentMetaData
.public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void getNext(org.apache.uima.jcas.JCas sJCas) throws IOException
getNext
in class org.apache.uima.fit.component.JCasCollectionReader_ImplBase
IOException
public boolean hasNext() throws IOException, org.apache.uima.collection.CollectionException
IOException
org.apache.uima.collection.CollectionException
public org.apache.uima.util.Progress[] getProgress()
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.