|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.file.AFileProcessor
public abstract class AFileProcessor
An abstract class that defines the method proccessFile( File ) to be implemented by any subclass. Such a subclass then can be used with FileWalker iterate recursivly over a file directory and process the found files.
| Constructor Summary | |
|---|---|
AFileProcessor()
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
boolean |
processFile(java.io.File file)
Process the given file or directory in any appropriate way. |
boolean |
processObject(java.lang.Object object)
Default implementation of interface IObjectProcessor that casts the given object to java.io.File if possible. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AFileProcessor()
| Method Detail |
|---|
public boolean processFile(java.io.File file)
file - The file or directory to process
public boolean processObject(java.lang.Object object)
processObject in interface IObjectProcessorobject - The object to be processed (null must be handled)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||