Package com.univocity.parsers.common
package com.univocity.parsers.common
-
ClassDescriptionParent class of the Exception classes thrown by univocity-parsers.AbstractParser<T extends CommonParserSettings<?>>The AbstractParser class provides a common ground for all parsers in univocity-parsers.AbstractWriter<S extends CommonWriterSettings<?>>The AbstractWriter class provides a common ground for all writers in univocity-parsers.An utility class for validating inputs.Class responsible for calculating and storing the position of fields parsed from the input.CommonParserSettings<F extends Format>This is the parent class for all configuration classes used by parsers (
AbstractParser
)CommonSettings<F extends Format>This is the parent class for all configuration classes used by parsers (AbstractParser
) and writers (AbstractWriter
)CommonWriterSettings<F extends Format>This is the parent class for all configuration classes used by writers (AbstractWriter
)ContextSnapshot<T extends Context>ContextWrapper<T extends Context>A simple a wrapper for aContext
.A basic interface for classes that associateConversion
implementations with fields of a given input/output.ADataProcessingException
is an error thrown during the processing of a record successfully parsed.ADataValidationException
is an error thrown during the processing of a record successfully parsed, but whose data failed to pass a validation defined by annotationValidate
Default implementation of theContext
interface with essential information about the output being produced.The base class forRowProcessor
andRowWriterProcessor
implementations that support value conversions provided byConversion
instances.The defaultParsingContext
implementation used internally byAbstractParser
to expose information about a parsing process in execution.A concrete (dummy) implementation ofFormat
.This is the parent class for all configuration classes that define a text format.Internal class to keep common internal functions that are used in multiple places.IterableResult<T,C extends Context> AnIterable
result that provides the current parsing context through theIterableResult.getContext()
methodA simple Reader implementation to enable parsers to process lines on demand, viaAbstractParser.parseLine(String)
AParsingContext
implementation that does nothing.NoopProcessorErrorHandler<T extends Context>An (singleton) implementation ofProcessorErrorHandler
that simply rethrows anyDataProcessingException
that comes into itsNoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)
} methodAn (singleton) implementation ofRowProcessorErrorHandler
that simply rethrows anyDataProcessingException
that comes into itsNoopRowProcessorErrorHandler.handleError(DataProcessingException, Object[], ParsingContext)
methodANormalizedString
allows representing text in a normalized fashion.The ParserOutput is the component that manages records parsed byAbstractParser
and their values.Parsing context information available to instances ofRowProcessor
.A snapshot of aParsingContext
which retains copies of variable attributes of a givenParsingContext
to store the state of the parsing process at a given point in time.A simple a wrapper for aParsingContext
.ProcessorErrorHandler<T extends Context>TheProcessorErrorHandler
is a callback used by the parser/writer to handle non-fatalDataProcessingException
s that may occur when processing rows using aProcessor
orRowWriterProcessor
.ResultIterator<T,C extends Context> AnIterator
that provides the current parsing context through theResultIterator.getContext()
methodRetryableErrorHandler<T extends Context>AProcessorErrorHandler
implementation that gives the user a chance to provide a default value for columns that could not be processed due to an exception, through the methodRetryableErrorHandler.setDefaultValue(Object)
.TheRowProcessorErrorHandler
is a callback used by the parser/writer to handle non-fatalDataProcessingException
s that may occur when processing rows using aRowProcessor
orRowWriterProcessor
.StringCache<T>A simple cache of values associated with strings.Exception type used provide information about any issue that might happen while parsing from a given input.Exception type used provide information about any issue that might happen while writing to a given output.