|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xfp.AttributeContainer org.xfp.Filter org.xfp.filters.file.DeleteFile
Deletes a file.
Nested Class Summary |
Nested classes inherited from class org.xfp.Filter |
Filter.OnErrorEnum, Filter.OnLoopErrorEnum |
Field Summary |
Fields inherited from class org.xfp.AttributeContainer |
name, parentContainer |
Constructor Summary | |
DeleteFile()
|
Method Summary | |
void |
execute(java.io.File file)
Executes this filter. |
void |
execute(java.lang.String filename)
Executes this filter. |
void |
reset()
Resets filter status after execution. |
Methods inherited from class org.xfp.Filter |
getOnError, initialize, log, newInstance, perform, toString |
Methods inherited from class org.xfp.AttributeContainer |
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DeleteFile()
Method Detail |
public void execute(java.lang.String filename) throws java.lang.Exception
filename
- The name of the file to be deleted
java.lang.Exception
public void execute(java.io.File file) throws java.lang.Exception
file
- The file to delete
java.lang.Exception
public void reset()
Filter
reset
in class Filter
Filter.reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |