public class TableBlockParser extends Object implements BlockParser
| Constructor and Description |
|---|
TableBlockParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String line)
accept.
|
void |
setTextParser(FormatedTextParser textParser)
Setter for the field
textParser. |
Block |
visit(String line,
ByLineSource source)
visit.
|
public TableBlockParser()
public final boolean accept(String line)
accept.
accept in interface BlockParserline - text linetrue if this class can handle this linepublic final Block visit(String line, ByLineSource source) throws ParseException
visit.
visit in interface BlockParserline - a line of textsource - the source of linesParseException - on errorpublic final void setTextParser(FormatedTextParser textParser)
Setter for the field textParser.
textParser - text parser to be setCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.