- All Superinterfaces:
- All Known Implementing Classes:
public interface FileProcessor
- extends FileActionComponent
A class that implements this interface is a processor for at least one kind of files.
- $Revision: 26572 $
boolean process(File file,
- Method invoked to process a file.
file - the file to process
ctxt - a Map to share informations between processings.
- true if the process was successfully performed, false if no action
was processed (do not return false in case of error, instead throw a ProcessingException).
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.