public final class InputStreamAdapter extends InputStream
| Modifier and Type | Field and Description |
|---|---|
(package private) ImageInputStream |
stream |
| Constructor and Description |
|---|
InputStreamAdapter(ImageInputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ImageInputStream |
getWrappedStream() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
available, readImageInputStream stream
public InputStreamAdapter(ImageInputStream stream)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic ImageInputStream getWrappedStream()
Copyright © 2015 Open Microscopy Environment