Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.util
Class FileCleanupHandler

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.util.FileCleanupHandler
All Implemented Interfaces:
CleanupHandler

public class FileCleanupHandler
extends Object
implements CleanupHandler

Cleanup Handler that takes a list of files and remove them after the operation chain was executed.

Author:
Bogdan Stefanescu

Constructor Summary
FileCleanupHandler()
           
FileCleanupHandler(Collection<File> files)
           
FileCleanupHandler(File file)
           
 
Method Summary
 void cleanup()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCleanupHandler

public FileCleanupHandler()

FileCleanupHandler

public FileCleanupHandler(File file)

FileCleanupHandler

public FileCleanupHandler(Collection<File> files)
Method Detail

cleanup

public void cleanup()
             throws Exception
Specified by:
cleanup in interface CleanupHandler
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.