|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dv.sbu.filehandler.binary.BinaryFileHandler
public class BinaryFileHandler
Binary file copier.
Constructor Summary | |
---|---|
BinaryFileHandler()
|
Method Summary | |
---|---|
int |
getBufferSize()
Returns the buffer size (in bytes). |
void |
handleFile(SourceFileInformation sourceFileInfo)
Handles a source file and will proceed related output file(s). |
void |
init(BuilderConfiguration builderConfiguration)
Called once for each processing job. |
void |
setBufferSize(int bufferSize)
Sets the buffer size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryFileHandler()
Method Detail |
---|
public int getBufferSize()
public void setBufferSize(int bufferSize) throws java.lang.IllegalArgumentException
bufferSize
- The size to set (in bytes).
java.lang.IllegalArgumentException
- The size is less 1.public void init(BuilderConfiguration builderConfiguration)
init
in interface IFileHandler
builderConfiguration
- The used builder configuration.IFileHandler.init(de.dv.sbu.builder.BuilderConfiguration)
public void handleFile(SourceFileInformation sourceFileInfo) throws java.lang.Exception
handleFile
in interface IFileHandler
sourceFileInfo
- The file information of the related file.
java.lang.Exception
- Any exception to forward.IFileHandler.handleFile(de.dv.sbu.SourceFileInformation)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |