Closeable
, AutoCloseable
public class StringInputStream extends ByteArrayInputStream
Constructor | Description |
---|---|
StringInputStream(String s) |
Modifier and Type | Method | Description |
---|---|---|
String |
getString() |
Returns the original string specified when this input stream was
constructed.
|
available, close, mark, markSupported, read, read, reset, skip
read, readAllBytes, readNBytes, transferTo
public StringInputStream(String s) throws UnsupportedEncodingException
UnsupportedEncodingException
public String getString()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.