public class DbInputStream
extends org.apache.commons.io.input.AutoCloseInputStream
This class does not support mark/reset. It is always to be wrapped using a BufferedInputStream.
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close()
When the stream is consumed, the database objects held by the instance are closed.
|
void |
mark(int readlimit)
This method does nothing.
|
boolean |
markSupported()
Check whether mark and reset are supported.
|
int |
read()
When the stream is consumed, the database objects held by the instance are closed.
|
int |
read(byte[] b)
When the stream is consumed, the database objects held by the instance are closed.
|
int |
read(byte[] b,
int off,
int len)
When the stream is consumed, the database objects held by the instance are closed.
|
void |
reset()
This method does nothing.
|
long |
skip(long n) |
public int read() throws IOException
read
in class org.apache.commons.io.input.ProxyInputStream
IOException
public int read(byte[] b) throws IOException
read
in class org.apache.commons.io.input.ProxyInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class org.apache.commons.io.input.ProxyInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.commons.io.input.AutoCloseInputStream
IOException
public long skip(long n) throws IOException
skip
in class org.apache.commons.io.input.ProxyInputStream
IOException
public int available() throws IOException
available
in class org.apache.commons.io.input.ProxyInputStream
IOException
public void mark(int readlimit)
mark
in class org.apache.commons.io.input.ProxyInputStream
public void reset() throws IOException
reset
in class org.apache.commons.io.input.ProxyInputStream
IOException
public boolean markSupported()
markSupported
in class org.apache.commons.io.input.ProxyInputStream
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"