| 限定符和类型 | 字段和说明 |
|---|---|
private Charset |
charset |
private long |
offset |
private RandomAccessFile |
raf |
private int |
rows |
| 构造器和说明 |
|---|
LineReader(File file,
int rows) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
boolean |
hasNext() |
static void |
main(String[] args) |
List<String> |
next() |
void |
remove() |
void |
setCharset(Charset charset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprivate final RandomAccessFile raf
private final int rows
private long offset
private Charset charset
public LineReader(File file, int rows) throws IOException
IOExceptionpublic void setCharset(Charset charset)
public void close()
Copyright © 2020. All rights reserved.