public static class LineReaderUtil.LevelsLineReader extends LineReader
LogLevel
.Modifier and Type | Field and Description |
---|---|
protected List<String> |
levels |
file, id, lastModified, length, log, offstReader, parent, reader
Constructor and Description |
---|
LevelsLineReader(File file,
OffsetReader offsetReader,
LogLevel... level) |
LevelsLineReader(LineReader parent,
OffsetReader offsetReader,
LogLevel... levels) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(String line)
Matcher of line for this reader.
|
String |
toString() |
close, ensureOpen, finalize, getFile, getId, getNbLines, getOffsetReader, getParent, isOpen, isUpToDate, open, readLine, readLine, readLine2, readLine2, setId, update
public LevelsLineReader(File file, OffsetReader offsetReader, LogLevel... level)
public LevelsLineReader(LineReader parent, OffsetReader offsetReader, LogLevel... levels)
public boolean match(String line)
LineReader
match
in class LineReader
line
- the line to be accepted by this line readertrue
if the line must be used,false
otherwisepublic String toString()
toString
in class LineReader
Copyright © 1999–2020 CodeLutin. All rights reserved.