public class StringInputStream extends ByteArrayInputStream
Used primarily for testing purposes.
buf, count, mark, pos
Constructor and Description |
---|
StringInputStream(String in)
Constructor.
|
available, close, mark, markSupported, read, read, reset, skip
read
public StringInputStream(String in)
in
- The string to create an input stream from.Copyright © 2018 Apache. All rights reserved.