public class RAFInputStreamAdapter extends InputStream
| Modifier and Type | Field and Description |
|---|---|
private long |
markedPos |
private IOException |
markException |
private RandomAccessFile |
raf |
| Constructor and Description |
|---|
RAFInputStreamAdapter(RandomAccessFile raf) |
| Modifier and Type | Method and Description |
|---|---|
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
available, close, readprivate final RandomAccessFile raf
private long markedPos
private IOException markException
public RAFInputStreamAdapter(RandomAccessFile raf)
public int read() throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic long skip(long n) throws IOException
skip in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic void reset() throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2017 dcm4che.org. All rights reserved.