Package org.eclipse.jetty.util.component
Class FileDestroyable
- java.lang.Object
-
- org.eclipse.jetty.util.component.FileDestroyable
-
- All Implemented Interfaces:
Destroyable
@Deprecated(since="2021-05-27") public class FileDestroyable extends java.lang.Object implements Destroyable
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description FileDestroyable()
Deprecated.FileDestroyable(java.io.File file)
Deprecated.FileDestroyable(java.lang.String file)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addFile(java.io.File file)
Deprecated.void
addFile(java.lang.String file)
Deprecated.void
addFiles(java.util.Collection<java.io.File> files)
Deprecated.void
destroy()
Deprecated.void
removeFile(java.io.File file)
Deprecated.void
removeFile(java.lang.String file)
Deprecated.
-
-
-
Method Detail
-
addFile
public void addFile(java.lang.String file) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
addFile
public void addFile(java.io.File file)
Deprecated.
-
addFiles
public void addFiles(java.util.Collection<java.io.File> files)
Deprecated.
-
removeFile
public void removeFile(java.lang.String file) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
removeFile
public void removeFile(java.io.File file)
Deprecated.
-
destroy
public void destroy()
Deprecated.- Specified by:
destroy
in interfaceDestroyable
-
-