public class FirstTokenURLTextInputter extends URLTextInputter implements TextInputter
loadedText| Constructor and Description |
|---|
FirstTokenURLTextInputter() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadText(java.lang.String str)
Loads text from a string, keeping only first token on each line.
|
void |
loadText(java.net.URL url,
java.lang.String encoding)
Loads text from a URL, keeping only first token on each line.
|
enableGapFixer, enableOrigFixer, enableSplitWordsFixer, getSegmentCount, getSegmentName, getSegmentText, getSegmentText, loadText, loadText, setSegmentText, setSegmentText, setSegmentText, setSegmentText, usesSegmentFilescloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableGapFixer, enableOrigFixer, enableSplitWordsFixer, getSegmentCount, getSegmentName, getSegmentText, getSegmentText, loadText, loadText, setSegmentText, setSegmentText, setSegmentText, setSegmentText, usesSegmentFilespublic void loadText(java.net.URL url,
java.lang.String encoding)
throws java.io.IOException
loadText in interface TextInputterloadText in class URLTextInputterurl - URL from which to read text.encoding - Text encoding.java.io.IOException - If an output error occurs.public void loadText(java.lang.String str)
throws java.lang.Exception
loadText in interface TextInputterloadText in class URLTextInputterstr - String from which to read text.java.io.IOException - If an error occurs.java.lang.Exception