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, skipreadpublic StringInputStream(String in)
in - The string to create an input stream from.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.