public class ByteArrayFileInputStream
extends java.io.InputStream
Constructor and Description |
---|
ByteArrayFileInputStream(java.io.File file,
int threshold) |
ByteArrayFileInputStream(java.io.File file,
int threshold,
boolean deleteOnClose) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
java.io.File |
getFile() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
void |
reset() |
long |
skip(long skip) |
public ByteArrayFileInputStream(java.io.File file, int threshold)
public ByteArrayFileInputStream(java.io.File file, int threshold, boolean deleteOnClose)
public int available() throws java.io.IOException
available
in class java.io.InputStream
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.InputStream
java.io.IOException
public java.io.File getFile()
public void mark(int readLimit)
mark
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
public long skip(long skip) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException