Uses of Interface
com.univocity.parsers.common.ParsingContext
-
-
Uses of ParsingContext in com.univocity.parsers.common
Classes in com.univocity.parsers.common that implement ParsingContext Modifier and Type Class Description classDefaultParsingContextThe defaultParsingContextimplementation used internally byAbstractParserto expose information about a parsing process in execution.(package private) classNoopParsingContextAParsingContextimplementation that does nothing.classParsingContextSnapshotA snapshot of aParsingContextwhich retains copies of variable attributes of a givenParsingContextto store the state of the parsing process at a given point in time.classParsingContextWrapperA simple a wrapper for aParsingContext.Fields in com.univocity.parsers.common declared as ParsingContext Modifier and Type Field Description protected ParsingContextAbstractParser. contextMethods in com.univocity.parsers.common that return ParsingContext Modifier and Type Method Description protected ParsingContextAbstractParser. createParsingContext()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 ParsingContext Modifier and Type Method Description IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.File input)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.File input, java.lang.String encoding)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.File input, java.nio.charset.Charset encoding)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.InputStream input)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.InputStream input, java.lang.String encoding)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.InputStream input, java.nio.charset.Charset encoding)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>AbstractParser. iterate(java.io.Reader input)Provides anIterableResultfor iterating rows parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.File input)Provides anIterableResultfor iterating records parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.File input, java.lang.String encoding)Provides anIterableResultfor iterating records parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.File input, java.nio.charset.Charset encoding)Provides anIterableResultfor iterating records parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.InputStream input)Provides anIterableResultfor iterating records parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.InputStream input, java.lang.String encoding)Provides anIterableResultfor iterating records parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.InputStream input, java.nio.charset.Charset encoding)Provides anIterableResultfor iterating records parsed from the input.IterableResult<Record,ParsingContext>AbstractParser. iterateRecords(java.io.Reader input)Provides anIterableResultfor iterating records parsed from the input.Methods in com.univocity.parsers.common with parameters of type ParsingContext Modifier and Type Method Description voidNoopRowProcessorErrorHandler. handleError(DataProcessingException error, java.lang.Object[] inputRow, ParsingContext context)Rethrows theDataProcessingExceptionprivate voidTextParsingException. setParsingContext(ParsingContext parsingContext)Constructors in com.univocity.parsers.common with parameters of type ParsingContext Constructor Description ParsingContextSnapshot(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, java.lang.String message)Creates a new exception with information about an error that occurred when parsing some input.TextParsingException(ParsingContext context, java.lang.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 ParsingContext Modifier and Type Method Description ParsingContextParserIterator. getContext()Methods in com.univocity.parsers.common.iterators that return types with arguments of type ParsingContext Modifier and Type Method Description ResultIterator<T,ParsingContext>ParserIterator. iterator() -
Uses of ParsingContext in com.univocity.parsers.common.processor
Methods in com.univocity.parsers.common.processor that return ParsingContext Modifier and Type Method Description protected ParsingContextConcurrentRowProcessor. copyContext(ParsingContext context)protected ParsingContextConcurrentRowProcessor. wrapContext(ParsingContext context)protected ParsingContextInputValueSwitch. wrapContext(ParsingContext context)Methods in com.univocity.parsers.common.processor with parameters of type ParsingContext Modifier and Type Method Description protected 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(java.lang.String[] row, ParsingContext context)Invoked by the parser after all values of a valid record have been processed.protected ParsingContextConcurrentRowProcessor. wrapContext(ParsingContext context)protected 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 ParsingContext Modifier and Type Method Description <T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.File input)Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.File input, java.lang.String encoding)Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.File input, java.nio.charset.Charset encoding)Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.InputStream input)Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.InputStream input, java.lang.String encoding)Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.InputStream input, java.nio.charset.Charset encoding)Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.Reader input)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 ParsingContext Modifier and Type Method Description protected ParsingContextFixedWidthParser. createParsingContext()Methods in com.univocity.parsers.fixed with parameters of type ParsingContext Modifier and Type Method Description (package private) voidLookup. initializeLookupContext(ParsingContext context, NormalizedString[] headersToUse)
-