public class StringInputStream extends ByteArrayInputStream
buf, count, mark, pos| 构造器和说明 |
|---|
StringInputStream(String s) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getString()
Returns the original string specified when this input stream was
constructed.
|
available, close, mark, markSupported, read, read, reset, skipreadpublic StringInputStream(String s) throws UnsupportedEncodingException
public String getString()
Copyright © 2016. All rights reserved.