Package org.eclipse.jetty.util.component
Class FileDestroyable
- java.lang.Object
-
- org.eclipse.jetty.util.component.FileDestroyable
-
- All Implemented Interfaces:
Destroyable
public class FileDestroyable extends java.lang.Object implements Destroyable
-
-
Constructor Summary
Constructors Constructor Description FileDestroyable()FileDestroyable(java.io.File file)FileDestroyable(java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFile(java.io.File file)voidaddFile(java.lang.String file)voidaddFiles(java.util.Collection<java.io.File> files)voiddestroy()voidremoveFile(java.io.File file)voidremoveFile(java.lang.String file)
-
-
-
Method Detail
-
addFile
public void addFile(java.lang.String file) throws java.io.IOException- Throws:
java.io.IOException
-
addFile
public void addFile(java.io.File file)
-
addFiles
public void addFiles(java.util.Collection<java.io.File> files)
-
removeFile
public void removeFile(java.lang.String file) throws java.io.IOException- Throws:
java.io.IOException
-
removeFile
public void removeFile(java.io.File file)
-
destroy
public void destroy()
- Specified by:
destroyin interfaceDestroyable
-
-