public class AutoDeleteFileInputStream extends FileInputStream
| Constructor and Description |
|---|
AutoDeleteFileInputStream(File file)
Create an AutoDeleteFileInputStream from an existing file.
|
AutoDeleteFileInputStream(InputStream copyFromStream)
Create an AutoDeleteFileInputStream by copying the contents of another InputStream into a temporary file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getFileLength() |
available, finalize, getChannel, getFD, read, read, read, skipmark, markSupported, resetpublic AutoDeleteFileInputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic AutoDeleteFileInputStream(InputStream copyFromStream) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FileInputStreamIOExceptionpublic long getFileLength()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.