net.sf.filePiper.processors
Class CopyProcessor
java.lang.Object
net.sf.filePiper.model.OneToOneByteFileProcessor
net.sf.filePiper.processors.CopyProcessor
- All Implemented Interfaces:
- FileProcessor
public class CopyProcessor
- extends OneToOneByteFileProcessor
Processor that simply copy the input stream to the ouput stream without content modification.
- Author:
- berol
| Methods inherited from class net.sf.filePiper.model.OneToOneByteFileProcessor |
bytesProcessed, endBatch, getCurrentInputFileInfo, getEditor, getOutputCardinality, getProposedExtension, getSettings, getStatusMessage, init, inputFileStarted, linesProcessed, process, setCurrentInputFileInfo, setProposedFilePath, startBatch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyProcessor
public CopyProcessor()
getProcessorName
public String getProcessorName()
- Specified by:
getProcessorName in interface FileProcessor- Specified by:
getProcessorName in class OneToOneByteFileProcessor
- Returns:
- A displayable name for this processor.
getProposedNameSuffix
public String getProposedNameSuffix()
- Specified by:
getProposedNameSuffix in class OneToOneByteFileProcessor
getProcessorDescription
public String getProcessorDescription()
- Overrides:
getProcessorDescription in class OneToOneByteFileProcessor
process
public void process(InputStream is,
OutputStream os,
FileProcessorEnvironment env)
throws IOException
- Specified by:
process in class OneToOneByteFileProcessor
- Throws:
IOException
Copyright © 2011. All Rights Reserved.