Package org.basex.build.text
Class TextParser
java.lang.Object
org.basex.core.jobs.Job
org.basex.build.Parser
org.basex.build.SingleParser
org.basex.build.text.TextParser
This class parses files in the plain-text format
and converts them to XML.
The parser provides some options, which can be specified via the
MainOptions.TEXTPARSER option.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields inherited from class org.basex.build.SingleParser
builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns detailed progress information.voidparse()Parses the current input.Methods inherited from class org.basex.build.SingleParser
parseMethods inherited from class org.basex.build.Parser
close, emptyParser, info, singleParser, target, xmlParser
-
Constructor Details
-
TextParser
Constructor.- Parameters:
source- document sourceopts- database options
-
-
Method Details
-
parse
Description copied from class:SingleParserParses the current input.- Specified by:
parsein classSingleParser- Throws:
IOException- I/O exception
-
detailedInfo
Description copied from class:JobReturns detailed progress information. Can be overwritten to give more specific feedback.- Overrides:
detailedInfoin classJob- Returns:
- header information
-