|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.pipeline.StageAdapter com.sun.labs.minion.pipeline.PrintTokenStage
public class PrintTokenStage
Field Summary |
---|
Fields inherited from class com.sun.labs.minion.pipeline.StageAdapter |
---|
downstream, name |
Constructor Summary | |
---|---|
PrintTokenStage()
|
|
PrintTokenStage(java.lang.String out)
|
Method Summary | |
---|---|
void |
close()
|
void |
startDocument(java.lang.String key)
Process the event that occurs at the start of a document. |
void |
token(Token t)
Processes a token from further up the pipeline. |
Methods inherited from class com.sun.labs.minion.pipeline.StageAdapter |
---|
defineField, dump, endDocument, endField, getDownstream, getName, newProperties, punctuation, savedData, setDownstream, setName, shutdown, startField, text |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintTokenStage()
public PrintTokenStage(java.lang.String out) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void startDocument(java.lang.String key)
StageAdapter
startDocument
in interface Stage
startDocument
in class StageAdapter
key
- The document key for this document.public void token(Token t)
token
in interface Stage
token
in class StageAdapter
t
- The token to process.public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |