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 void
close()
-
Methods inherited from class java.io.FileInputStream
available, finalize, getChannel, getFD, read, read, read, skip
-
Methods inherited from class java.io.InputStream
mark, markSupported, reset
-
-
-
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFileInputStream
- Throws:
IOException
-
-