Package net.sf.basedb.util.parser
-
Interface Summary Interface Description ConfigureByExample This is a tagging interface for all plugins that use theFlatFileParser
and wants easier configuration of the regular expressions used to parse the file.Mapper Represents a mapping expression that gets a single value from a line of data.WrappedConfigureByExample This is an extension to theConfigureByExample
interface that allows a plug-in to wrap an input stream with another stream. -
Class Summary Class Description ColFunction Adds acol()
function to Jep.ColumnMapper Returns the string found in the column given by the index set in the constructor.CompoundMapper A compound mapper that gets its value by invoking multiple other mappers which are set in the constructor.ConstantMapper A constant string mapper.CropStringMapper A mapper that crops a string if it is longer than a specified length.DataNoFunction Adds adataNo()
function to Jep.DefaultItemFunction<T extends Nameable> JEP function that can be used to return the name of a default item in a project.FlatFileParser This class can be used to parse data from flat text files and from Excel workbooks in xlsx format.FlatFileParser.Data This class holds data about a line parsed by theFlatFileParser.hasMoreData()
method.FlatFileParser.ExcelData Subclass that is used to return data when the source file is an Excel file.FlatFileParser.Line This class holds data about a line parsed by theFlatFileParser.parseHeaders()
method.JepMapper A mapper that uses Jep to calculate the final value.LineNoFunction Adds alineNo()
function to Jep.NullIfExceptionMapper A mapper that returns null if there is an exception when parsing the input data. -
Enum Summary Enum Description FlatFileParser.LineType Represents the type of a line matched or unmatched by the parser.