public class SelfExpandingBufferredInputStream extends BufferedInputStream
BufferedInputStream enforcing the contract where reset()
always returns to the beginning of the stream, and the internal buffer
expands automatically to the total length of content read from the underlying
stream.in| Constructor and Description |
|---|
SelfExpandingBufferredInputStream(InputStream in) |
SelfExpandingBufferredInputStream(InputStream in,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBufSize()
Return the current maximum size of the internal buffer.
|
int |
getCount() |
int |
getMarkLimit() |
int |
getMarkPos() |
int |
getPos() |
void |
mark(int readlimit)
Not supported.
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, markSupported, reset, skippublic SelfExpandingBufferredInputStream(InputStream in)
public SelfExpandingBufferredInputStream(InputStream in, int size)
public void mark(int readlimit)
mark in class BufferedInputStreampublic int read()
throws IOException
read in class BufferedInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class BufferedInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int getBufSize()
public int getCount()
public int getPos()
public int getMarkLimit()
public int getMarkPos()
Copyright © 2013. All Rights Reserved.