Uses of Class
com.univocity.parsers.common.NormalizedString
-
-
Uses of NormalizedString in com.univocity.parsers.annotations.helpers
Methods in com.univocity.parsers.annotations.helpers that return NormalizedString Modifier and Type Method Description NormalizedStringFieldMapping. getFieldName()Returns the column name against which this field is mapped.Methods in com.univocity.parsers.annotations.helpers with parameters of type NormalizedString Modifier and Type Method Description voidFieldMapping. setFieldName(NormalizedString fieldName)Defines the column name against which this field is mapped, overriding any current name derived from annotations or from the attribute name itself.Constructors in com.univocity.parsers.annotations.helpers with parameters of type NormalizedString Constructor Description FieldMapping(java.lang.Class<?> beanClass, java.lang.reflect.AnnotatedElement target, PropertyWrapper property, HeaderTransformer transformer, NormalizedString[] headers)Creates the mapping and identifies how it is mapped (by name or by index) -
Uses of NormalizedString in com.univocity.parsers.common
Fields in com.univocity.parsers.common declared as NormalizedString Modifier and Type Field Description static NormalizedString[]ArgumentUtils. EMPTY_NORMALIZED_STRING_ARRAYprotected NormalizedString[]AbstractWriter. headersMethods in com.univocity.parsers.common that return NormalizedString Modifier and Type Method Description NormalizedString[]ParserOutput. getHeaders()Returns the sequence of values that represent the headers each field in the input.static NormalizedStringNormalizedString. literalValueOf(java.lang.String string)Creates a literalNormalizedString, meaning it will only match with otherStringorNormalizedStringif they have the exact same content including character case and surrounding whitespaces.static NormalizedString[]NormalizedString. toArray(java.lang.String... args)Converts multiple plain strings into an array ofNormalizedString.static NormalizedString[]NormalizedString. toArray(java.util.Collection<java.lang.String> args)Converts a collection of plain strings into an array ofNormalizedStringstatic NormalizedString[]NormalizedString. toIdentifierGroupArray(NormalizedString[] strings)Analyzes a group of NormalizedString to identify any instances whose normalized content will generate clashes.static NormalizedString[]NormalizedString. toIdentifierGroupArray(java.lang.String[] strings)Analyzes a group of String to identify any instances whose normalized content will generate clashes.NormalizedStringNormalizedString. toLiteral()Returns the literal representation of thisNormalizedString, meaning it will only match with otherStringorNormalizedStringif they have the exact same content including character case and surrounding whitespaces.static NormalizedString[]NormalizedString. toUniqueArray(java.lang.String... args)Converts multiple plain strings into an array ofNormalizedString, ensuring no duplicateNormalizedStringelements exist, even if their originalStrings are different.static NormalizedStringNormalizedString. valueOf(java.lang.Object o)Creates a non-literalNormalizedString, meaning it will match with otherStringorNormalizedStringregardless of different including character case and surrounding whitespaces.static NormalizedStringNormalizedString. valueOf(java.lang.String string)Creates a non-literalNormalizedString, meaning it will match with otherStringorNormalizedStringregardless of different including character case and surrounding whitespaces.Methods in com.univocity.parsers.common that return types with arguments of type NormalizedString Modifier and Type Method Description static StringCache<NormalizedString>NormalizedString. getCache()Returns the internal string cache to allow users to tweak its size limit or clear it when appropriatestatic java.util.ArrayList<NormalizedString>NormalizedString. toArrayList(java.lang.String... args)Converts multiple plain strings into anArrayListofNormalizedString.static java.util.ArrayList<NormalizedString>NormalizedString. toArrayList(java.util.Collection<java.lang.String> args)Converts multiple plain strings into anArrayListofNormalizedString.static java.util.HashSet<NormalizedString>NormalizedString. toHashSet(java.lang.String... args)Converts multiple plain strings into aHashSetofNormalizedString.static java.util.HashSet<NormalizedString>NormalizedString. toHashSet(java.util.Collection<java.lang.String> args)Converts multiple plain strings into aHashSetofNormalizedString.static java.util.LinkedHashSet<NormalizedString>NormalizedString. toLinkedHashSet(java.lang.String... args)Converts multiple plain strings into aLinkedHashSetofNormalizedString.static java.util.LinkedHashSet<NormalizedString>NormalizedString. toLinkedHashSet(java.util.Collection<java.lang.String> args)Converts multiple plain strings into aLinkedHashSetofNormalizedString.static java.util.TreeSet<NormalizedString>NormalizedString. toTreeSet(java.lang.String... args)Converts multiple plain strings into aTreeSetofNormalizedString.static java.util.TreeSet<NormalizedString>NormalizedString. toTreeSet(java.util.Collection<java.lang.String> args)Converts multiple plain strings into aTreeSetofNormalizedString.Methods in com.univocity.parsers.common with parameters of type NormalizedString Modifier and Type Method Description intNormalizedString. compareTo(NormalizedString o)static booleanNormalizedString. identifyLiterals(NormalizedString[] strings)Analyzes a group of NormalizedString to identify any instances whose normalized content will generate clashes.static booleanNormalizedString. identifyLiterals(NormalizedString[] strings, boolean lowercaseIdentifiers, boolean uppercaseIdentifiers)Analyzes a group of NormalizedString to identify any instances whose normalized content will generate clashes.static intArgumentUtils. indexOf(NormalizedString[] array, NormalizedString element, FieldSelector fieldSelector)Returns the index of a header, when headers are selected using aFieldSelector.booleanDefaultConversionProcessor. reverseConversions(boolean executeInReverseOrder, java.lang.Object[] row, NormalizedString[] headers, int[] indexesToWrite)Executes the sequences of reverse conversions defined usingDefaultConversionProcessor.convertFields(Conversion...),DefaultConversionProcessor.convertIndexes(Conversion...)andDefaultConversionProcessor.convertAll(Conversion...), for every field in the given row.static java.lang.String[]NormalizedString. toArray(NormalizedString... args)Converts multiple normalized strings into an array ofString.static java.util.ArrayList<java.lang.String>NormalizedString. toArrayListOfStrings(NormalizedString... args)Converts multiple normalized strings into aHashSetofString.static java.util.HashSet<java.lang.String>NormalizedString. toHashSetOfStrings(NormalizedString... args)Converts multiple normalized strings into aHashSetofString.static NormalizedString[]NormalizedString. toIdentifierGroupArray(NormalizedString[] strings)Analyzes a group of NormalizedString to identify any instances whose normalized content will generate clashes.static java.util.LinkedHashSet<java.lang.String>NormalizedString. toLinkedHashSetOfStrings(NormalizedString... args)Converts multiple normalized strings into aLinkedHashSetofString.static java.util.TreeSet<java.lang.String>NormalizedString. toTreeSetOfStrings(NormalizedString... args)Converts multiple normalized strings into aHashSetofString.static java.lang.StringNormalizedString. valueOf(NormalizedString string)Converts aNormalizedStringback to its originalStringrepresentationMethod parameters in com.univocity.parsers.common with type arguments of type NormalizedString Modifier and Type Method Description static java.util.ArrayList<java.lang.String>NormalizedString. toArrayListOfStrings(java.util.Collection<NormalizedString> args)Converts multiple normalized strings into aHashSetofString.static java.util.HashSet<java.lang.String>NormalizedString. toHashSetOfStrings(java.util.Collection<NormalizedString> args)Converts multiple normalized strings into aHashSetofString.static java.util.LinkedHashSet<java.lang.String>NormalizedString. toLinkedHashSetOfStrings(java.util.Collection<NormalizedString> args)Converts multiple normalized strings into aLinkedHashSetofString.static java.lang.String[]NormalizedString. toStringArray(java.util.Collection<NormalizedString> args)Converts a collection of normalized strings into an array ofStringstatic java.util.TreeSet<java.lang.String>NormalizedString. toTreeSetOfStrings(java.util.Collection<NormalizedString> args)Converts multiple normalized strings into aHashSetofString. -
Uses of NormalizedString in com.univocity.parsers.common.fields
Methods in com.univocity.parsers.common.fields with parameters of type NormalizedString Modifier and Type Method Description int[]AllIndexesSelector. getFieldIndexes(NormalizedString[] headers)int[]ExcludeFieldEnumSelector. getFieldIndexes(NormalizedString[] headers)Returns the indexes of any that are part of a sequence of headers but not part of the selection.int[]ExcludeFieldIndexSelector. getFieldIndexes(NormalizedString[] columns)Returns the indexes of any that are part of a sequence of headers but not part of the selection.int[]ExcludeFieldNameSelector. getFieldIndexes(NormalizedString[] headers)Returns the indexes of any that are part of a sequence of headers but not part of the selection.int[]FieldEnumSelector. getFieldIndexes(NormalizedString[] headers)int[]FieldIndexSelector. getFieldIndexes(NormalizedString[] columns)int[]FieldNameSelector. getFieldIndexes(NormalizedString[] headers)int[]FieldSelector. getFieldIndexes(NormalizedString[] headers)Returns the indexes of any selected fields that are part of a sequence of headers. -
Uses of NormalizedString in com.univocity.parsers.common.processor
Methods in com.univocity.parsers.common.processor that return NormalizedString Modifier and Type Method Description protected NormalizedString[]OutputValueSwitch. getHeaders()NormalizedString[]OutputValueSwitch. getHeaders(java.lang.Object input)NormalizedString[]OutputValueSwitch. getHeaders(java.util.Map headerMapping, java.util.Map mapInput)protected NormalizedString[]RowWriterProcessorSwitch. getHeaders()Returns the headers in use by the current row writer processor implementation, which can vary among row writer processors.abstract NormalizedString[]RowWriterProcessorSwitch. getHeaders(java.lang.Object input)Returns the sequence of headers to use for processing an input record.abstract NormalizedString[]RowWriterProcessorSwitch. getHeaders(java.util.Map headerMapping, java.util.Map mapInput)Returns the sequence of headers to use for processing an input record represented by a map A map of headers can be optionally provided to assign a name to the keys of the input map.Methods in com.univocity.parsers.common.processor with parameters of type NormalizedString Modifier and Type Method Description java.lang.Object[]BeanWriterProcessor. write(T input, NormalizedString[] headers, int[] indexesToWrite)Converts the java bean instance into a sequence of values for writing.java.lang.Object[]ObjectRowWriterProcessor. write(java.lang.Object[] input, NormalizedString[] headers, int[] indexesToWrite)Executes the sequences of conversions defined usingDefaultConversionProcessor.convertFields(Conversion...),DefaultConversionProcessor.convertIndexes(Conversion...)andDefaultConversionProcessor.convertAll(Conversion...), for every field in the given row.java.lang.Object[]RowWriterProcessor. write(T input, NormalizedString[] headers, int[] indexesToWrite)Converts the given input into an Object array that is suitable for writing.java.lang.Object[]RowWriterProcessorSwitch. write(java.lang.Object input, NormalizedString[] headers, int[] indicesToWrite) -
Uses of NormalizedString in com.univocity.parsers.common.processor.core
Methods in com.univocity.parsers.common.processor.core with parameters of type NormalizedString Modifier and Type Method Description protected voidBeanConversionProcessor. initialize(NormalizedString[] headers)Identifies and extracts fields annotated with theParsedannotationjava.lang.Object[]BeanConversionProcessor. reverseConversions(T bean, NormalizedString[] headers, int[] indexesToWrite)Converts a java bean instance into a sequence of values for writing. -
Uses of NormalizedString in com.univocity.parsers.fixed
Methods in com.univocity.parsers.fixed that return NormalizedString Modifier and Type Method Description NormalizedString[]FixedWidthFields. getFieldNames()Returns the name of each field in a fixed-width record, if any
-