public class SegmentParser extends Object implements Closeable, Configured<SegmentParser>
| 限定符和类型 | 字段和说明 |
|---|---|
protected PushbackReader |
reader |
| 构造器和说明 |
|---|
SegmentParser(Reader reader) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
configured(Configurator<SegmentParser> by)
被配置
|
SegmentToken |
currentToken()
当前Token
|
void |
initToken() |
String |
readKey()
读取KEY
|
String |
readObjectValue()
读取对象VALUE
|
String |
readPathKey()
读取一部分KEY
|
String |
readValue()
读取VALUE
|
void |
setParserFeature(int parserFeature) |
protected PushbackReader reader
public SegmentParser(Reader reader)
public String readKey() throws IOException
IOExceptionpublic String readPathKey() throws IOException
IOExceptionpublic String readValue() throws IOException
IOExceptionpublic String readObjectValue() throws IOException
IOExceptionpublic SegmentToken currentToken()
public void initToken()
public void setParserFeature(int parserFeature)
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseablepublic void configured(Configurator<SegmentParser> by)
Configuredconfigured 在接口中 Configured<SegmentParser>by - 目标配置器Copyright © 2021. All rights reserved.