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 voidIoUtil.readLines(InputStream in, Charset charset, LineHandler lineHandler) 按行读取数据,针对每行的数据做处理static voidIoUtil.readLines(Reader reader, LineHandler lineHandler) 按行读取数据,针对每行的数据做处理
Reader自带编码定义,因此读取数据的编码跟随其编码。static voidIoUtil.readUtf8Lines(InputStream in, LineHandler lineHandler) 按行读取UTF-8编码数据,针对每行的数据做处理