public class TextReader extends Object
| Constructor and Description |
|---|
TextReader(String text) |
| Modifier and Type | Method and Description |
|---|---|
TextReader |
back() |
int |
cursor() |
boolean |
hasNext() |
int |
line() |
char |
next()
下一個字符
|
char |
peek()
當前字符
|
int |
position() |
TextReader |
reset() |
String |
text() |
String |
thisLine() |
String |
toString() |
static TextReader |
with(String text) |
public TextReader(String text)
public static TextReader with(String text)
public TextReader reset()
public char peek()
public char next()
public int position()
public int line()
public int cursor()
public String thisLine()
public TextReader back()
public boolean hasNext()
public String text()
Copyright © 2019. All rights reserved.