Package org.basex.build
Class DirParser
java.lang.Object
org.basex.core.jobs.Job
org.basex.build.Parser
org.basex.build.DirParser
This class recursively scans files and directories and parses all
relevant files.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.basex.build.Parser
emptyParser, singleParser, target, xmlParser
-
Constructor Details
-
DirParser
Constructor.- Parameters:
source- source pathoptions- main options
-
-
Method Details
-
parse
Description copied from class:ParserParses all nodes and sends events to the specified builder.- Specified by:
parsein classParser- Parameters:
build- database builder- Throws:
IOException- I/O exception
-
info
Description copied from class:ParserReturns parser information. -
detailedInfo
Description copied from class:JobReturns detailed progress information. Can be overwritten to give more specific feedback.- Overrides:
detailedInfoin classJob- Returns:
- header information
-
progressInfo
public double progressInfo()Description copied from class:JobReturns a progress value (0 - 1). Can be overwritten to give more specific feedback.- Overrides:
progressInfoin classJob- Returns:
- header information
-
close
Description copied from class:ParserCloses the parser.- Overrides:
closein classParser- Throws:
IOException- I/O exception
-