Package org.apache.jackrabbit.vault.util
Class TempFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FileInputStream
-
- org.apache.jackrabbit.vault.util.TempFileInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class TempFileInputStream extends FileInputStream
TempFileInputStream...
-
-
Constructor Summary
Constructors Constructor Description TempFileInputStream(File file)TempFileInputStream(FileDescriptor fdObj)TempFileInputStream(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class java.io.FileInputStream
available, finalize, getChannel, getFD, read, read, read, skip
-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
-
-
-
Constructor Detail
-
TempFileInputStream
public TempFileInputStream(String name) throws FileNotFoundException
- Throws:
FileNotFoundException
-
TempFileInputStream
public TempFileInputStream(File file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
TempFileInputStream
public TempFileInputStream(FileDescriptor fdObj)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-
-