Uses of Class
com.univocity.parsers.common.NormalizedString
Packages that use NormalizedString
Package
Description
-
Uses of NormalizedString in com.univocity.parsers.annotations.helpers
Fields in com.univocity.parsers.annotations.helpers declared as NormalizedStringMethods in com.univocity.parsers.annotations.helpers that return NormalizedStringModifier and TypeMethodDescriptionFieldMapping.getFieldName()Returns the column name against which this field is mapped.Methods in com.univocity.parsers.annotations.helpers with parameters of type NormalizedStringModifier and TypeMethodDescriptionprivate voidFieldMapping.determineFieldMapping(HeaderTransformer transformer, NormalizedString[] headers) 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 NormalizedStringModifierConstructorDescriptionFieldMapping(Class<?> beanClass, 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 NormalizedStringModifier and TypeFieldDescriptionprivate NormalizedString[]AbstractWriter.dummyHeaderRowstatic final NormalizedString[]ArgumentUtils.EMPTY_NORMALIZED_STRING_ARRAYprotected NormalizedString[]AbstractWriter.headersprivate NormalizedString[]ParserOutput.headersFields in com.univocity.parsers.common with type parameters of type NormalizedStringModifier and TypeFieldDescriptionprivate Map<NormalizedString, Integer> ColumnMap.columnMapprivate Map<NormalizedString[], Map<NormalizedString, Integer>> AbstractWriter.headerIndexesprivate static final StringCache<NormalizedString> NormalizedString.stringCacheMethods in com.univocity.parsers.common with type parameters of type NormalizedStringModifier and TypeMethodDescriptionprivate static <T extends Collection<NormalizedString>>
TNormalizedString.getCollection(T out, String... args) private static <T extends Collection<NormalizedString>>
TNormalizedString.getCollection(T out, Collection<String> args) Methods in com.univocity.parsers.common that return NormalizedStringModifier and TypeMethodDescriptionParserOutput.getHeaders()Returns the sequence of values that represent the headers each field in the input.private NormalizedString[]AbstractWriter.getRowProcessorHeaders()static NormalizedStringNormalizedString.literalValueOf(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[]Converts multiple plain strings into an array ofNormalizedString.static NormalizedString[]NormalizedString.toArray(Collection<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(String[] strings) Analyzes a group of String to identify any instances whose normalized content will generate clashes.NormalizedString.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(String... args) Converts multiple plain strings into an array ofNormalizedString, ensuring no duplicateNormalizedStringelements exist, even if their originalStrings are different.static NormalizedStringCreates a non-literalNormalizedString, meaning it will match with otherStringorNormalizedStringregardless of different including character case and surrounding whitespaces.static NormalizedStringCreates 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 NormalizedStringModifier and TypeMethodDescriptionstatic StringCache<NormalizedString> NormalizedString.getCache()Returns the internal string cache to allow users to tweak its size limit or clear it when appropriatestatic ArrayList<NormalizedString> NormalizedString.toArrayList(String... args) Converts multiple plain strings into anArrayListofNormalizedString.static ArrayList<NormalizedString> NormalizedString.toArrayList(Collection<String> args) Converts multiple plain strings into anArrayListofNormalizedString.static HashSet<NormalizedString> Converts multiple plain strings into aHashSetofNormalizedString.static HashSet<NormalizedString> NormalizedString.toHashSet(Collection<String> args) Converts multiple plain strings into aHashSetofNormalizedString.static LinkedHashSet<NormalizedString> NormalizedString.toLinkedHashSet(String... args) Converts multiple plain strings into aLinkedHashSetofNormalizedString.static LinkedHashSet<NormalizedString> NormalizedString.toLinkedHashSet(Collection<String> args) Converts multiple plain strings into aLinkedHashSetofNormalizedString.static TreeSet<NormalizedString> Converts multiple plain strings into aTreeSetofNormalizedString.static TreeSet<NormalizedString> NormalizedString.toTreeSet(Collection<String> args) Converts multiple plain strings into aTreeSetofNormalizedString.Methods in com.univocity.parsers.common with parameters of type NormalizedStringModifier and TypeMethodDescriptionprivate final voidAbstractWriter.addValue(NormalizedString[] headersInContext, NormalizedString headerName, boolean ignoreOnMismatch, Object value) intNormalizedString.compareTo(NormalizedString o) private static <T extends Collection<String>>
TNormalizedString.getCollection(T out, NormalizedString... args) private intAbstractWriter.getFieldIndex(NormalizedString[] headersInContext, NormalizedString headerName, boolean ignoreOnMismatch) Calculates the index of a header name in relation to the originalAbstractWriter.headersarray defined in this writerstatic 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.private voidParserOutput.initializeColumnsToExtract(NormalizedString[] values) Initializes the sequence of selected fields, if any.final booleanDefaultConversionProcessor.reverseConversions(boolean executeInReverseOrder, 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 String[]NormalizedString.toArray(NormalizedString... args) Converts multiple normalized strings into an array ofString.NormalizedString.toArrayListOfStrings(NormalizedString... args) Converts multiple normalized strings into aHashSetofString.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 LinkedHashSet<String> NormalizedString.toLinkedHashSetOfStrings(NormalizedString... args) Converts multiple normalized strings into aLinkedHashSetofString.NormalizedString.toTreeSetOfStrings(NormalizedString... args) Converts multiple normalized strings into aHashSetofString.static StringNormalizedString.valueOf(NormalizedString string) Converts aNormalizedStringback to its originalStringrepresentationMethod parameters in com.univocity.parsers.common with type arguments of type NormalizedStringModifier and TypeMethodDescriptionprivate static <T extends Collection<String>>
TNormalizedString.getStringCollection(T out, Collection<NormalizedString> args) NormalizedString.toArrayListOfStrings(Collection<NormalizedString> args) Converts multiple normalized strings into aHashSetofString.NormalizedString.toHashSetOfStrings(Collection<NormalizedString> args) Converts multiple normalized strings into aHashSetofString.static LinkedHashSet<String> NormalizedString.toLinkedHashSetOfStrings(Collection<NormalizedString> args) Converts multiple normalized strings into aLinkedHashSetofString.static String[]NormalizedString.toStringArray(Collection<NormalizedString> args) Converts a collection of normalized strings into an array ofStringNormalizedString.toTreeSetOfStrings(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 NormalizedStringModifier and TypeMethodDescriptionint[]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
Fields in com.univocity.parsers.common.processor declared as NormalizedStringModifier and TypeFieldDescription(package private) final NormalizedString[]OutputValueSwitch.Switch.headersprivate NormalizedString[]BeanWriterProcessor.normalizedHeadersprivate NormalizedString[]ObjectRowWriterProcessor.normalizedHeadersprivate NormalizedString[]RowWriterProcessorSwitch.normalizedHeadersMethods in com.univocity.parsers.common.processor that return NormalizedStringModifier and TypeMethodDescriptionprotected NormalizedString[]OutputValueSwitch.getHeaders()OutputValueSwitch.getHeaders(Object input) OutputValueSwitch.getHeaders(Map headerMapping, 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(Object input) Returns the sequence of headers to use for processing an input record.abstract NormalizedString[]RowWriterProcessorSwitch.getHeaders(Map headerMapping, 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.private NormalizedString[]OutputValueSwitch.getHeadersFromSwitch(Object value) Methods in com.univocity.parsers.common.processor with parameters of type NormalizedStringModifier and TypeMethodDescriptionObject[]BeanWriterProcessor.write(T input, NormalizedString[] headers, int[] indexesToWrite) Converts the java bean instance into a sequence of values for writing.Object[]ObjectRowWriterProcessor.write(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.Object[]RowWriterProcessor.write(T input, NormalizedString[] headers, int[] indexesToWrite) Converts the given input into an Object array that is suitable for writing.Object[]RowWriterProcessorSwitch.write(Object input, NormalizedString[] headers, int[] indicesToWrite) -
Uses of NormalizedString in com.univocity.parsers.common.processor.core
Fields in com.univocity.parsers.common.processor.core declared as NormalizedStringModifier and TypeFieldDescriptionprivate NormalizedStringAbstractInputValueSwitch.columnNameprivate NormalizedString[]BeanConversionProcessor.syntheticHeadersMethods in com.univocity.parsers.common.processor.core with parameters of type NormalizedStringModifier and TypeMethodDescriptionprotected final voidBeanConversionProcessor.initialize(NormalizedString[] headers) Identifies and extracts fields annotated with theParsedannotationprivate voidBeanConversionProcessor.mapFieldIndexes(Context context, Object[] row, NormalizedString[] headers, int[] indexes, boolean columnsReordered) Identifies which fields are associated with which columns in a row.private voidBeanConversionProcessor.mapFieldsToValues(T instance, Object[] row, NormalizedString[] headers, int[] indexes, boolean columnsReordered) Iterates over all fields in the java bean instance and extracts its values.(package private) voidBeanConversionProcessor.processField(AnnotatedElement element, String targetName, PropertyWrapper propertyDescriptor, NormalizedString[] headers) private voidBeanConversionProcessor.processNestedField(Class nestedType, AnnotatedElement element, String targetName, PropertyWrapper propertyDescriptor, NormalizedString[] headers, Nested nested) final 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.common.record
Methods in com.univocity.parsers.common.record that return NormalizedStringModifier and TypeMethodDescriptionprivate NormalizedString[]RecordMetaDataImpl.getValidatedHeaders() -
Uses of NormalizedString in com.univocity.parsers.fixed
Fields in com.univocity.parsers.fixed declared as NormalizedStringFields in com.univocity.parsers.fixed with type parameters of type NormalizedStringMethods in com.univocity.parsers.fixed that return NormalizedStringModifier and TypeMethodDescriptionFixedWidthFields.getFieldNames()Returns the name of each field in a fixed-width record, if anyMethods in com.univocity.parsers.fixed with parameters of type NormalizedStringModifier and TypeMethodDescription(package private) voidLookup.initializeLookupContext(ParsingContext context, NormalizedString[] headersToUse)