public class DbInputStream extends 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 ProxyInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class ProxyInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class ProxyInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AutoCloseInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class ProxyInputStreamIOExceptionpublic int available()
throws IOException
available in class ProxyInputStreamIOExceptionpublic void mark(int readlimit)
mark in class ProxyInputStreampublic void reset()
throws IOException
reset in class ProxyInputStreamIOExceptionpublic boolean markSupported()
markSupported in class ProxyInputStreamCopyright © 2010 - 2020 Adobe. All Rights Reserved