org.nuxeo.ecm.automation.core.util
Class FileCleanupHandler
java.lang.Object
org.nuxeo.ecm.automation.core.util.FileCleanupHandler
- All Implemented Interfaces:
- CleanupHandler
public class FileCleanupHandler
- extends java.lang.Object
- implements CleanupHandler
Cleanup Handler that takes a list of files and remove them after the
operation chain was executed.
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCleanupHandler
public FileCleanupHandler()
FileCleanupHandler
public FileCleanupHandler(java.io.File file)
FileCleanupHandler
public FileCleanupHandler(java.util.Collection<java.io.File> files)
cleanup
public void cleanup()
throws java.lang.Exception
- Specified by:
cleanup
in interface CleanupHandler
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.