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, read
private final RandomAccessFile raf
private long markedPos
private IOException markException
public RAFInputStreamAdapter(RandomAccessFile raf)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public void mark(int readlimit)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
Copyright © 2017 dcm4che.org. All rights reserved.