|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.mallet.base.pipe.Pipe
edu.umass.cs.mallet.base.pipe.Filename2CharSequence
Given a filename contained in a string, read in contents of file into a CharSequence.
Constructor Summary | |
Filename2CharSequence()
|
Method Summary | |
Instance |
pipe(Instance carrier)
Process an Instance. |
java.lang.CharSequence |
pipe(java.io.Reader reader)
|
Methods inherited from class edu.umass.cs.mallet.base.pipe.Pipe |
getDataAlphabet, getInstanceId, getParent, getParentRoot, getTargetAlphabet, isDataAlphabetSet, isTargetProcessing, pipe, readResolve, resolveDataAlphabet, resolveTargetAlphabet, setDataAlphabet, setParent, setTargetAlphabet, setTargetProcessing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Filename2CharSequence()
Method Detail |
public Instance pipe(Instance carrier)
Pipe
One can create a new concrete subclass of Pipe simply by implementing this method.
pipe
in class Pipe
carrier
- Instance to be processed.public java.lang.CharSequence pipe(java.io.Reader reader) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |