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, skip
public SelfExpandingBufferredInputStream(InputStream in)
public SelfExpandingBufferredInputStream(InputStream in, int size)
public void mark(int readlimit)
mark
in class BufferedInputStream
public int read() throws IOException
read
in class BufferedInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class BufferedInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int getBufSize()
public int getCount()
public int getPos()
public int getMarkLimit()
public int getMarkPos()
Copyright © 2018 JBoss by Red Hat. All rights reserved.