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 voidaddFile(java.io.File file)Deprecated.voidaddFile(java.lang.String file)Deprecated.voidaddFiles(java.util.Collection<java.io.File> files)Deprecated.voiddestroy()Deprecated.voidremoveFile(java.io.File file)Deprecated.voidremoveFile(java.lang.String file)Deprecated.
-
-
-
Method Detail
-
addFile
public void addFile(java.lang.String file) throws java.io.IOExceptionDeprecated.- 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.IOExceptionDeprecated.- Throws:
java.io.IOException
-
removeFile
public void removeFile(java.io.File file)
Deprecated.
-
destroy
public void destroy()
Deprecated.- Specified by:
destroyin interfaceDestroyable
-
-