private class DefaultPropertiesConfigParser.OriginTrackedPropertiesLoader.CharacterReader extends Object implements Closeable
'\' escapes.| 限定符和类型 | 字段和说明 |
|---|---|
private int |
character |
private int |
columnNumber |
private boolean |
escaped |
private String[] |
ESCAPES |
private LineNumberReader |
reader |
| 构造器和说明 |
|---|
CharacterReader(org.springframework.core.io.Resource resource) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
char |
getCharacter() |
DefaultPropertiesConfigParser.Location |
getLocation() |
boolean |
isEndOfFile() |
boolean |
isEndOfLine() |
boolean |
isListDelimiter() |
boolean |
isPropertyDelimiter() |
boolean |
isWhiteSpace() |
boolean |
read() |
boolean |
read(boolean wrappedLine) |
private void |
readEscaped() |
private void |
readUnicode() |
private void |
skipComment() |
private void |
skipLeadingWhitespace() |
private final String[] ESCAPES
private final LineNumberReader reader
private int columnNumber
private boolean escaped
private int character
CharacterReader(org.springframework.core.io.Resource resource)
throws IOException
IOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic boolean read()
throws IOException
IOExceptionpublic boolean read(boolean wrappedLine)
throws IOException
IOExceptionprivate void skipLeadingWhitespace()
throws IOException
IOExceptionprivate void skipComment()
throws IOException
IOExceptionprivate void readEscaped()
throws IOException
IOExceptionprivate void readUnicode()
throws IOException
IOExceptionpublic boolean isWhiteSpace()
public boolean isEndOfFile()
public boolean isEndOfLine()
public boolean isListDelimiter()
public boolean isPropertyDelimiter()
public char getCharacter()
public DefaultPropertiesConfigParser.Location getLocation()
Copyright © 2021 Zodiac. All rights reserved.