public class DelimiterInputStream extends PushbackInputStream
buf, pos
in
Constructor and Description |
---|
DelimiterInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
byte[] |
readTill(byte[] delimiter)
reads till delimiter is found
|
available, close, mark, markSupported, read, read, reset, skip, unread, unread, unread
read
public DelimiterInputStream(InputStream in)
in
- public byte[] readTill(byte[] delimiter) throws IOException, DelimiterNotFoundException
delimiter
- IOException
DelimiterNotFoundException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.