Uses of Interface
com.univocity.parsers.conversions.Conversion

Packages that use Conversion
com.univocity.parsers.annotations.helpers   
com.univocity.parsers.common   
com.univocity.parsers.common.fields   
com.univocity.parsers.common.processor.core   
com.univocity.parsers.common.record   
com.univocity.parsers.conversions   
 

Uses of Conversion in com.univocity.parsers.annotations.helpers
 

Methods in com.univocity.parsers.annotations.helpers that return Conversion
static Conversion AnnotationHelper.getConversion(AnnotatedElement target, Annotation annotation)
          Identifies the proper conversion for a given Field and an annotation from the package com.univocity.parsers.annotations
static Conversion AnnotationHelper.getConversion(Class classType, Annotation annotation)
          Identifies the proper conversion for a given type and an annotation from the package com.univocity.parsers.annotations
static Conversion AnnotationHelper.getDefaultConversion(AnnotatedElement target)
          Returns the default Conversion that should be applied to the field based on its type.
static Conversion AnnotationHelper.getDefaultConversion(Class fieldType, Parsed parsed)
          Identifies the proper conversion for a given type
 

Uses of Conversion in com.univocity.parsers.common
 

Methods in com.univocity.parsers.common with parameters of type Conversion
 void DefaultConversionProcessor.convertAll(Conversion... conversions)
           
 void ConversionProcessor.convertAll(Conversion... conversions)
          Applies a set of Conversion objects over all elements of a record
 FieldSet<String> DefaultConversionProcessor.convertFields(Conversion... conversions)
           
 FieldSet<String> ConversionProcessor.convertFields(Conversion... conversions)
          Applies a set of Conversion objects over fields of a record by name.
 FieldSet<Integer> DefaultConversionProcessor.convertIndexes(Conversion... conversions)
           
 FieldSet<Integer> ConversionProcessor.convertIndexes(Conversion... conversions)
          Applies a set of Conversion objects over indexes of a record.
 void DefaultConversionProcessor.convertType(Class<?> type, Conversion... conversions)
           
 void ConversionProcessor.convertType(Class<?> type, Conversion... conversions)
          Applies a sequence of conversions over values of a given type.
 

Uses of Conversion in com.univocity.parsers.common.fields
 

Methods in com.univocity.parsers.common.fields that return Conversion
 Conversion[] FieldConversionMapping.getConversions(int index, Class<?> expectedType)
          Returns the sequence of conversions to be applied at a given column index
 

Methods in com.univocity.parsers.common.fields with parameters of type Conversion
 void FieldConversionMapping.applyConversionsOnAllFields(Conversion<String,?>... conversions)
          Applies a sequence of conversions on all fields.
 FieldSet<Enum> FieldConversionMapping.applyConversionsOnFieldEnums(Conversion<String,?>... conversions)
          Applies a sequence of conversions on a selection of enumerations that represent fields
 FieldSet<Integer> FieldConversionMapping.applyConversionsOnFieldIndexes(Conversion<String,?>... conversions)
          Applies a sequence of conversions on a selection of field indexes
 FieldSet<String> FieldConversionMapping.applyConversionsOnFieldNames(Conversion<String,?>... conversions)
          Applies a sequence of conversions on a selection of field name
 

Uses of Conversion in com.univocity.parsers.common.processor.core
 

Methods in com.univocity.parsers.common.processor.core with parameters of type Conversion
protected  void BeanConversionProcessor.addConversion(Conversion conversion, FieldMapping mapping)
          Associates a conversion to a field of the java bean class.
 void AbstractMultiBeanProcessor.convertAll(Conversion... conversions)
           
 FieldSet<String> AbstractMultiBeanProcessor.convertFields(Conversion... conversions)
           
 FieldSet<Integer> AbstractMultiBeanProcessor.convertIndexes(Conversion... conversions)
           
 void AbstractMultiBeanProcessor.convertType(Class<?> type, Conversion... conversions)
           
 

Uses of Conversion in com.univocity.parsers.common.record
 

Methods in com.univocity.parsers.common.record with parameters of type Conversion
<T extends Enum<T>>
FieldSet<T>
RecordMetaData.convertFields(Class<T> enumType, Conversion... conversions)
          Associates a sequence of Conversions to fields of a given set of fields
 FieldSet<String> RecordMetaData.convertFields(Conversion... conversions)
          Associates a sequence of Conversions to fields of a given set of field names
 FieldSet<Integer> RecordMetaData.convertIndexes(Conversion... conversions)
          Associates a sequence of Conversions to fields of a given set of column indexes
<T> T
Record.getValue(Enum<?> column, Class<T> expectedType, Conversion... conversions)
          Returns the value contained in the given column, after applying a sequence of conversion over it.
<T> T
Record.getValue(Enum<?> column, T defaultValue, Conversion... conversions)
          Returns the value contained in a given column, after applying a sequence of conversions over it.
<T> T
Record.getValue(int columnIndex, Class<T> expectedType, Conversion... conversions)
          Returns the value contained in the given column, after applying a sequence of conversion over it.
<T> T
Record.getValue(int columnIndex, T defaultValue, Conversion... conversions)
          Returns the value contained in a given column, after applying a sequence of conversions over it.
<T> T
Record.getValue(String headerName, Class<T> expectedType, Conversion... conversions)
          Returns the value contained in the given column, after applying a sequence of conversion over it.
<T> T
Record.getValue(String headerName, T defaultValue, Conversion... conversions)
          Returns the value contained in a given column, after applying a sequence of conversions over it.
 

Uses of Conversion in com.univocity.parsers.conversions
 

Classes in com.univocity.parsers.conversions that implement Conversion
 class BigDecimalConversion
          Converts Strings to BigDecimals and vice versa
 class BigIntegerConversion
          Converts Strings to BigIntegers and vice versa
 class BooleanConversion
          Converts Strings to Booleans and vice versa
 class ByteConversion
          Converts Strings to Bytes and vice versa
 class CalendarConversion
          Converts Strings to instances of Calendar and vice versa.
 class CharacterConversion
          Converts Strings to Characters and vice versa
 class DateConversion
          Converts Strings to instances of Date and vice versa.
 class DoubleConversion
          Converts Strings to Doubles and vice versa
 class EnumConversion<T extends Enum<T>>
          Converts Strings to enumeration constants and vice versa.
 class FloatConversion
          Converts Strings to Floats and vice versa
 class FormattedBigDecimalConversion
          Converts formatted Strings to instances of BigDecimal and vice versa.
 class FormattedDateConversion
          Converts objects of different date types (java.util.Date and java.util.Calendar) to a formatted date String.
 class IntegerConversion
          Converts Strings to Integers and vice versa
 class LongConversion
          Converts Strings to Longs and vice versa
 class LowerCaseConversion
          Converts an input String to its lower case representation The LowerCaseConversion.revert(String) implements the same behavior of LowerCaseConversion.execute(String).
 class NullConversion<I,O>
          Default implementation for conversions from input Objects of type I to output Objects of type O
 class NullStringConversion
          Converts Strings to null and vice versa
 class NumericConversion<T extends Number>
          Converts Strings to instances of Number and vice versa.
 class ObjectConversion<T>
          Default implementation for conversions from an input String to Objects of a given type T
 class RegexConversion
          Replaces contents of a given input String, identified by a regular expression, with a replacement String.
 class ShortConversion
          Converts Strings to Shorts and vice versa
 class ToStringConversion
          Converts any non-null object to its String representation.
 class TrimConversion
          Removes leading and trailing white spaces from an input String The TrimConversion.revert(String) implements the same behavior of TrimConversion.execute(String).
 class UpperCaseConversion
          Converts an input String to its upper case representation The UpperCaseConversion.revert(String) implements the same behavior of UpperCaseConversion.execute(String).
 



Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.