private class TempFileDataSource.TempInputStream
extends java.io.FilterInputStream
Modifier and Type | Field and Description |
---|---|
private java.io.File |
file |
Modifier | Constructor and Description |
---|---|
private |
TempFileDataSource.TempInputStream(java.io.InputStream in,
java.io.File file) |
private TempFileDataSource.TempInputStream(java.io.InputStream in, java.io.File file)
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
private void deleteTempFile()