public class CsvTokener extends Object implements Closeable
Constructor and Description |
---|
CsvTokener(Reader reader)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
back()
将标记回退到第一个字符
|
void |
close() |
long |
getIndex()
获取当前位置
|
int |
next()
读取下一个字符,并记录位置
|
public int next()
public void back() throws IllegalStateException
IllegalStateException
- 当多次调用back时,抛出此异常public long getIndex()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2024. All rights reserved.