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.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic java.io.File getFile()
public void mark(int readLimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long skip)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException