public class PartialInputStream extends InputStream
PartialInputStream class.
| Constructor and Description |
|---|
PartialInputStream(InputStream pSrc,
int length)
Constructor for PartialInputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBytesLeft()
getBytesLeft.
|
int |
read() |
void |
setDelimiter(Integer d)
Setter for the field
delimiter. |
void |
setLength(int length)
setLength.
|
available, close, mark, markSupported, read, read, reset, skippublic PartialInputStream(InputStream pSrc, int length)
Constructor for PartialInputStream.
pSrc - a InputStream object.length - a int.public void setLength(int length)
setLength.
length - a int.public int getBytesLeft()
getBytesLeft.
public int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2016. All Rights Reserved.