| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.core.collection.iter | |
| org.dromara.hutool.core.text.split |
字符串切分封装和工具类
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
LineIter
将Reader包装为一个按照行读取的Iterator
此对象遍历结束后,应关闭之,推荐使用方式: LineIterator it = null; try { it = new LineIterator(reader); while (it.hasNext()) { String line = it.nextLine(); // do something with line } } finally { it.close(); } 此类来自于Apache Commons io |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SplitIter
|
Copyright © 2024. All rights reserved.