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 associateConversionimplementations with fields of a given input/output.ADataProcessingExceptionis an error thrown during the processing of a record successfully parsed.ADataValidationExceptionis an error thrown during the processing of a record successfully parsed, but whose data failed to pass a validation defined by annotationValidateDefault implementation of theContextinterface with essential information about the output being produced.The base class forRowProcessorandRowWriterProcessorimplementations that support value conversions provided byConversioninstances.The defaultParsingContextimplementation used internally byAbstractParserto 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> AnIterableresult that provides the current parsing context through theIterableResult.getContext()methodA simple Reader implementation to enable parsers to process lines on demand, viaAbstractParser.parseLine(String)AParsingContextimplementation that does nothing.NoopProcessorErrorHandler<T extends Context>An (singleton) implementation ofProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itsNoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)} methodAn (singleton) implementation ofRowProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itsNoopRowProcessorErrorHandler.handleError(DataProcessingException, Object[], ParsingContext)methodANormalizedStringallows representing text in a normalized fashion.The ParserOutput is the component that manages records parsed byAbstractParserand their values.Parsing context information available to instances ofRowProcessor.A snapshot of aParsingContextwhich retains copies of variable attributes of a givenParsingContextto store the state of the parsing process at a given point in time.A simple a wrapper for aParsingContext.ProcessorErrorHandler<T extends Context>TheProcessorErrorHandleris a callback used by the parser/writer to handle non-fatalDataProcessingExceptions that may occur when processing rows using aProcessororRowWriterProcessor.ResultIterator<T,C extends Context> AnIteratorthat provides the current parsing context through theResultIterator.getContext()methodRetryableErrorHandler<T extends Context>AProcessorErrorHandlerimplementation 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).TheRowProcessorErrorHandleris a callback used by the parser/writer to handle non-fatalDataProcessingExceptions that may occur when processing rows using aRowProcessororRowWriterProcessor.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.