Uses of Interface
com.luna.common.io.LineHandler
Packages that use LineHandler
-
Uses of LineHandler in com.luna.common.io
Methods in com.luna.common.io with parameters of type LineHandlerModifier and TypeMethodDescriptionstatic void
IoUtil.readLines
(InputStream in, Charset charset, LineHandler lineHandler) 按行读取数据,针对每行的数据做处理static void
IoUtil.readLines
(Reader reader, LineHandler lineHandler) 按行读取数据,针对每行的数据做处理
Reader
自带编码定义,因此读取数据的编码跟随其编码。static void
IoUtil.readUtf8Lines
(InputStream in, LineHandler lineHandler) 按行读取UTF-8编码数据,针对每行的数据做处理