public static class LineReaderUtil.PatternLineReader extends LineReader
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
pattern |
file, id, lastModified, length, log, offstReader, parent, reader| Constructor and Description |
|---|
LineReaderUtil.PatternLineReader(File file,
OffsetReader offsetReader,
String level,
int flags) |
LineReaderUtil.PatternLineReader(LineReader parent,
OffsetReader offsetReader,
String level,
int flags) |
| 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, updateprotected Pattern pattern
public LineReaderUtil.PatternLineReader(File file, OffsetReader offsetReader, String level, int flags)
public LineReaderUtil.PatternLineReader(LineReader parent, OffsetReader offsetReader, String level, int flags)
public boolean match(String line)
LineReadermatch in class LineReaderline - the line to be accepted by this line readertrue if the line must be used,false
otherwisepublic String toString()
toString in class LineReaderCopyright © 1999-2013 CodeLutin. All Rights Reserved.