public abstract class AbstractFilePayloadTransformer<T> extends java.lang.Object implements Transformer
Constructor and Description |
---|
AbstractFilePayloadTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
setDeleteFiles(boolean deleteFiles)
Specify whether to delete the File after transformation.
|
Message<?> |
transform(Message<?> message) |
protected abstract T |
transformFile(java.io.File file)
Subclasses must implement this method to transform the File contents.
|
public void setDeleteFiles(boolean deleteFiles)
public final Message<?> transform(Message<?> message)
transform
in interface Transformer
protected abstract T transformFile(java.io.File file) throws java.lang.Exception
java.lang.Exception