|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileProcessorEnvironment
Interface used by the FileProcessor to interact with its environment.
| Method Summary | |
|---|---|
ExecutionPhase |
getCurrentPhase()
Get the current execution phase of the processor environment. |
OutputStream |
getOutputStream(InputFileInfo info)
Get an output stream for writing. |
Pipeline |
getPipeline()
Get the object representing the whole file processing pipeline. |
boolean |
shouldContinue()
Returns true if the file processing shoud continue, false if it was aborted. |
| Method Detail |
|---|
OutputStream getOutputStream(InputFileInfo info)
throws IOException
info - info about the file to create. The proposed name contained in this info can be used to create the final file
name if the pipeline is configured to use it.
IOExceptionboolean shouldContinue()
Pipeline getPipeline()
ExecutionPhase getCurrentPhase()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||