|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.file.transformer.AbstractFilePayloadTransformer<T>
public abstract class AbstractFilePayloadTransformer<T>
Base class for transformers that convert a File payload.
| Constructor Summary | |
|---|---|
AbstractFilePayloadTransformer()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFilePayloadTransformer()
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||