public abstract class AFileProcessor extends java.lang.Object implements IFileProcessor
Constructor and Description |
---|
AFileProcessor()
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processFile(java.io.File file)
Process the given file or directory in any appropriate way.
|
boolean |
processObject(java.io.File file)
Default implementation of interface IObjectProcessor that casts the
given object to java.io.File if possible.
|
public AFileProcessor()
public boolean processFile(java.io.File file)
processFile
in interface IFileProcessor
file
- The file or directory to processpublic boolean processObject(java.io.File file)
processObject
in interface IObjectProcessor<java.io.File>
file
- The object to be processed (null must be handled)