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 void
addFile(java.io.File file)
void
addFile(java.lang.String file)
void
addFiles(java.util.Collection<java.io.File> files)
void
destroy()
void
removeFile(java.io.File file)
void
removeFile(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:
destroy
in interfaceDestroyable
-
-