|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.pipeline.stage.BaseStage
org.apache.commons.pipeline.stage.InputStreamLineBreakStage
public class InputStreamLineBreakStage
Breaks up an InputStream by line and exqueues each resulting line.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.pipeline.stage.BaseStage |
|---|
context |
| Constructor Summary | |
|---|---|
InputStreamLineBreakStage()
Creates a new instance of InputStreamLineBreakStage |
|
InputStreamLineBreakStage(boolean ignoringBlankLines)
Creates a new instance of InputStreamLineBreakStage |
|
| Method Summary | |
|---|---|
boolean |
isIgnoringBlankLines()
Getter for property ignoreBlankLines. |
void |
process(Object obj)
The only operation performed by this implementation of process() is to feed the specified object to the downstream feeder. |
void |
setIgnoringBlankLines(boolean ignoringBlankLines)
Specifies that this stage will not exqueue blank lines. |
| Methods inherited from class org.apache.commons.pipeline.stage.BaseStage |
|---|
emit, emit, init, postprocess, preprocess, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamLineBreakStage()
public InputStreamLineBreakStage(boolean ignoringBlankLines)
| Method Detail |
|---|
public void process(Object obj)
throws StageException
BaseStage
process in interface Stageprocess in class BaseStageobj - Object to be passed to downstream pipeline.
StageException - an Exception thrown by an overriding implementation should
be wrapped in a StageExceptionpublic boolean isIgnoringBlankLines()
public void setIgnoringBlankLines(boolean ignoringBlankLines)
ignoreBlankLines - New value of property ignoreBlankLines.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||