public class DotTerminatedInputStream extends InputStream
Constructor and Description |
---|
DotTerminatedInputStream(InputStream in)
A constructor for this object that takes a stream to be wrapped and a
terminating character sequence.
|
Modifier and Type | Method and Description |
---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skip
public DotTerminatedInputStream(InputStream in)
in
- the InputStream
to be wrappedIllegalArgumentException
- if the terminator array is null or emptypublic int read() throws IOException
read
in class InputStream
IOException
Copyright © 2006–2019. All rights reserved.