Nuxeo Enterprise Platform 5.4

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 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

Constructor Summary
FileCleanupHandler()
           
FileCleanupHandler(java.util.Collection<java.io.File> files)
           
FileCleanupHandler(java.io.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(java.io.File file)

FileCleanupHandler

public FileCleanupHandler(java.util.Collection<java.io.File> files)
Method Detail

cleanup

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.