Uses of Interface
com.univocity.parsers.common.ParsingContext
Packages that use ParsingContext
Package
Description
-
Uses of ParsingContext in com.univocity.parsers.common
Classes in com.univocity.parsers.common that implement ParsingContextModifier and TypeClassDescriptionclassThe defaultParsingContextimplementation used internally byAbstractParserto expose information about a parsing process in execution.(package private) classAParsingContextimplementation that does nothing.classA snapshot of aParsingContextwhich retains copies of variable attributes of a givenParsingContextto store the state of the parsing process at a given point in time.classA simple a wrapper for aParsingContext.Fields in com.univocity.parsers.common declared as ParsingContextMethods in com.univocity.parsers.common that return ParsingContextModifier and TypeMethodDescriptionprotected ParsingContextAbstractParser.createParsingContext()final ParsingContextAbstractParser.getContext()Returns the current parsing context with information about the status of the parser at any given time.Methods in com.univocity.parsers.common that return types with arguments of type ParsingContextModifier and TypeMethodDescriptionfinal IterableResult<String[], ParsingContext> Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<String[], ParsingContext> Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<String[], ParsingContext> Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<String[], ParsingContext> AbstractParser.iterate(InputStream input) Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<String[], ParsingContext> AbstractParser.iterate(InputStream input, String encoding) Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<String[], ParsingContext> AbstractParser.iterate(InputStream input, Charset encoding) Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<String[], ParsingContext> Provides anIterableResultfor iterating rows parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(File input) Provides anIterableResultfor iterating records parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(File input, String encoding) Provides anIterableResultfor iterating records parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(File input, Charset encoding) Provides anIterableResultfor iterating records parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(InputStream input) Provides anIterableResultfor iterating records parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(InputStream input, String encoding) Provides anIterableResultfor iterating records parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(InputStream input, Charset encoding) Provides anIterableResultfor iterating records parsed from the input.final IterableResult<Record, ParsingContext> AbstractParser.iterateRecords(Reader input) Provides anIterableResultfor iterating records parsed from the input.Methods in com.univocity.parsers.common with parameters of type ParsingContextModifier and TypeMethodDescriptionvoidNoopRowProcessorErrorHandler.handleError(DataProcessingException error, Object[] inputRow, ParsingContext context) Rethrows theDataProcessingExceptionprivate voidTextParsingException.setParsingContext(ParsingContext parsingContext) Constructors in com.univocity.parsers.common with parameters of type ParsingContextModifierConstructorDescriptionParsingContextSnapshot(ParsingContext context) Creates a snapshot of a givenContextParsingContextWrapper(ParsingContext context) Wraps aParsingContext.TextParsingException(ParsingContext context) Creates a new exception with information about an error that occurred when parsing some input.TextParsingException(ParsingContext context, String message) Creates a new exception with information about an error that occurred when parsing some input.TextParsingException(ParsingContext context, Throwable cause) Creates a new exception with information about an error that occurred when parsing some input. -
Uses of ParsingContext in com.univocity.parsers.common.iterators
Methods in com.univocity.parsers.common.iterators that return ParsingContextMethods in com.univocity.parsers.common.iterators that return types with arguments of type ParsingContextModifier and TypeMethodDescriptionfinal ResultIterator<T, ParsingContext> ParserIterator.iterator() -
Uses of ParsingContext in com.univocity.parsers.common.processor
Methods in com.univocity.parsers.common.processor that return ParsingContextModifier and TypeMethodDescriptionprotected ParsingContextConcurrentRowProcessor.copyContext(ParsingContext context) protected ParsingContextConcurrentRowProcessor.wrapContext(ParsingContext context) protected final ParsingContextInputValueSwitch.wrapContext(ParsingContext context) Methods in com.univocity.parsers.common.processor with parameters of type ParsingContextModifier and TypeMethodDescriptionprotected ParsingContextConcurrentRowProcessor.copyContext(ParsingContext context) voidRowProcessor.processEnded(ParsingContext context) This method will by invoked by the parser once, after the parsing process stopped and all resources were closed.voidRowProcessor.processStarted(ParsingContext context) This method will by invoked by the parser once, when it is ready to start processing the input.voidRowProcessor.rowProcessed(String[] row, ParsingContext context) Invoked by the parser after all values of a valid record have been processed.protected ParsingContextConcurrentRowProcessor.wrapContext(ParsingContext context) protected final ParsingContextInputValueSwitch.wrapContext(ParsingContext context) -
Uses of ParsingContext in com.univocity.parsers.common.routine
Methods in com.univocity.parsers.common.routine that return types with arguments of type ParsingContextModifier and TypeMethodDescription<T> IterableResult<T, ParsingContext> Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T, ParsingContext> Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T, ParsingContext> Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T, ParsingContext> AbstractRoutines.iterate(Class<T> beanType, InputStream input) Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T, ParsingContext> AbstractRoutines.iterate(Class<T> beanType, InputStream input, String encoding) Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T, ParsingContext> AbstractRoutines.iterate(Class<T> beanType, InputStream input, Charset encoding) Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T, ParsingContext> Iterates over an input to produce instances of annotated java beans on demand. -
Uses of ParsingContext in com.univocity.parsers.fixed
Methods in com.univocity.parsers.fixed that return ParsingContextModifier and TypeMethodDescriptionprotected ParsingContextFixedWidthParser.createParsingContext()Methods in com.univocity.parsers.fixed with parameters of type ParsingContextModifier and TypeMethodDescription(package private) voidLookup.initializeLookupContext(ParsingContext context, NormalizedString[] headersToUse)