public interface BlockParser
Modifier and Type | Method and Description |
---|---|
boolean |
accept(String line)
accept.
|
Block |
visit(String line,
ByLineSource source)
visit.
|
boolean accept(String line)
accept.
line
- text linetrue
if this class can handle this lineBlock visit(String line, ByLineSource source) throws ParseException
visit.
line
- a line of textsource
- the source of linesParseException
- on errorCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.