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 java.io.IOException
read in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.commons.io.input.AutoCloseInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic void mark(int readlimit)
mark in class org.apache.commons.io.input.ProxyInputStreampublic void reset()
throws java.io.IOException
reset in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class org.apache.commons.io.input.ProxyInputStream"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"