public interface FileProcessor extends FileActionComponent
FileActionComponent.Operation
CURRENT_FILE_DOCUMENT, CURRENT_OPERATION, FILE_SEPARATOR, PROCESSING_TYPE, REVISION
Modifier and Type | Method and Description |
---|---|
boolean |
process(java.io.File file,
java.util.Map<java.lang.String,java.lang.Object> ctxt)
Method invoked to process a file.
|
getDescription, getName, getOrder, isAvailable
boolean process(java.io.File file, java.util.Map<java.lang.String,java.lang.Object> ctxt) throws ProcessingException
file
- the file to processctxt
- a Map to share informations between processings.ProcessingException
- if the processing operation failed or if the file should be blacklisted (for this or all processors)Copyright © 2001-2010 Jalios SA. All Rights Reserved.