public class TextFileOutput extends Object implements PipelineStep
| Constructor and Description |
|---|
TextFileOutput() |
TextFileOutput(String location) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToLinenote(LinenoteBuilder<PipelineStep> linenoteBuilder) |
void |
addToPipeline(PipelineContext pipeline)
Wire step into the pipeline.
|
void |
autoflush(boolean b) |
void |
buffer(int b) |
void |
charset(String c) |
void |
close()
Close the step.
|
void |
gzbuffer(int b) |
void |
gzip(boolean g) |
void |
init()
Initialize the step.
|
void |
location(String l) |
void |
print(String s) |
void |
println(String s) |
void |
stats(boolean b) |
String |
toString() |
public TextFileOutput()
public TextFileOutput(String location)
public void location(String l)
public void charset(String c)
public void buffer(int b)
public void gzbuffer(int b)
public void gzip(boolean g)
public void stats(boolean b)
public void autoflush(boolean b)
public void init()
throws FileNotFoundException,
IOException
PipelineStepPipelineStep.addToPipeline(com.chemaxon.overlap.cli.util.pipeline.PipelineContext) will be invoked before
this method.PipelineStep.close() is expected to be invoked sometimes later, regardless of possible error(s) thrown.init in interface PipelineStepFileNotFoundExceptionIOExceptionpublic void print(String s)
public void println(String s)
public void close()
throws IOException
PipelineStepPipelineStep.init() is guaranteed to
be invoked before. Note that it is possible that PipelineStep.init() and PipelineStep.close() methods are not invoked
during the life cycle of an implementing instance.close in interface PipelineStepIOExceptionpublic void addToPipeline(PipelineContext pipeline)
PipelineStepPipelineContext.addStep(com.chemaxon.overlap.cli.util.pipeline.PipelineStep)PipelineStep.init().PipelineStep.init().PipelineContext reference this method is side effect freeaddToPipeline in interface PipelineSteppipeline - Target pipeline.public static void addToLinenote(LinenoteBuilder<PipelineStep> linenoteBuilder)