public class StringInput extends Object implements JsonInput
| 构造器和说明 |
|---|
StringInput(String string) |
StringInput(String str,
int pos,
int length) |
public StringInput(String string)
public StringInput(String str, int pos, int length)
public String getString()
public int available()
JsonInputpublic char readChar()
throws IOException
JsonInputreadChar 在接口中 JsonInputIOException - IO异常时抛出public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2022. All rights reserved.