|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Converter in org.apache.commons.convert |
---|
Subinterfaces of Converter in org.apache.commons.convert | |
---|---|
interface |
LocalizedConverter<S,T>
Localized converter interface. |
Classes in org.apache.commons.convert that implement Converter | |
---|---|
class |
AbstractConverter<S,T>
Abstract converter class. |
class |
AbstractLocalizedConverter<S,T>
Abstract localized converter class. |
static class |
BooleanConverters.BooleanToInteger
An object that converts a Boolean to an Integer . |
static class |
BooleanConverters.IntegerToBoolean
An object that converts an Integer to a Boolean . |
static class |
BooleanConverters.StringToBoolean
An object that converts a String to a Boolean . |
static class |
CollectionConverters.ArrayToList<T>
An object that converts an array to a List . |
protected static class |
Converters.PassThruConverter<S,T>
Pass-through converter used when the source and target java object types are the same. |
static class |
DateTimeConverters.CalendarToDate
An object that converts a Calendar to a Date . |
static class |
DateTimeConverters.CalendarToLong
An object that converts a Calendar to a Long . |
static class |
DateTimeConverters.CalendarToString
An object that converts a Calendar to a String . |
static class |
DateTimeConverters.CalendarToTimestamp
An object that converts a Calendar to a Timestamp . |
static class |
DateTimeConverters.DateToCalendar
An object that converts a Date to a Calendar . |
static class |
DateTimeConverters.DateToSqlDate
An object that converts a java.util.Date to a
java.sql.Date . |
static class |
DateTimeConverters.DateToSqlTime
An object that converts a java.util.Date to a
java.sql.Time . |
static class |
DateTimeConverters.DateToString
An object that converts a java.util.Date to a
String . |
static class |
DateTimeConverters.DateToTimestamp
An object that converts a java.util.Date to a
java.sql.Timestamp . |
static class |
DateTimeConverters.GenericDateToLong<S extends Date>
An object that converts a java.util.Date (and its subclasses) to a
Long . |
static class |
DateTimeConverters.GenericLocalizedConverter<S,T>
|
static class |
DateTimeConverters.LongToCalendar
An object that converts a Long to a
Calendar . |
static class |
DateTimeConverters.LongToDate
An object that converts a Long to a
java.util.Date . |
static class |
DateTimeConverters.LongToSqlDate
An object that converts a Long to a
java.sql.Date . |
static class |
DateTimeConverters.LongToSqlTime
An object that converts a Long to a
java.sql.Time . |
static class |
DateTimeConverters.LongToTimestamp
An object that converts a Long to a
java.sql.Timestamp . |
static class |
DateTimeConverters.SqlDateToDate
An object that converts a java.sql.Date to a
java.util.Date . |
static class |
DateTimeConverters.SqlDateToString
An object that converts a java.sql.Date to a
String . |
static class |
DateTimeConverters.SqlDateToTimestamp
An object that converts a java.sql.Date to a
java.sql.Timestamp . |
static class |
DateTimeConverters.SqlTimeToString
An object that converts a java.sql.Time to a
String . |
static class |
DateTimeConverters.StringToCalendar
An object that converts a String to a
java.util.Calendar . |
static class |
DateTimeConverters.StringToDate
An object that converts a String to a
java.util.Date . |
static class |
DateTimeConverters.StringToSqlDate
An object that converts a String to a
java.sql.Date . |
static class |
DateTimeConverters.StringToSqlTime
An object that converts a String to a
java.sql.Time . |
static class |
DateTimeConverters.StringToTimestamp
An object that converts a String to a
java.sql.Timestamp . |
static class |
DateTimeConverters.StringToTimeZone
An object that converts a String ID to a
java.util.TimeZone . |
static class |
DateTimeConverters.TimestampToDate
An object that converts a java.sql.Timestamp to a
java.util.Date . |
static class |
DateTimeConverters.TimestampToSqlDate
An object that converts a java.sql.Timestamp to a
java.sql.Date . |
static class |
DateTimeConverters.TimestampToSqlTime
An object that converts a java.sql.Timestamp to a
java.sql.Time . |
static class |
DateTimeConverters.TimestampToString
An object that converts a java.sql.Timestamp to a
String . |
static class |
DateTimeConverters.TimeZoneToString
An object that converts a java.util.TimeZone to a
String ID. |
class |
GenericSingletonToList<T>
An object that creates a List and adds an object to the
List . |
class |
GenericSingletonToSet<T>
An object that creates a Set and adds an object to the
Set . |
class |
GenericToStringConverter<S>
An object that converts any object to a String
by calling the object's toString method.. |
static class |
MiscConverters.BlobToByteArray
An object that converts a java.sql.Blob to a
byte array. |
static class |
MiscConverters.ByteArrayToByteBuffer
An object that converts a byte array to a ByteBuffer . |
static class |
MiscConverters.ByteBufferToByteArray
An object that converts a ByteBuffer to a
byte array. |
static class |
MiscConverters.CharsetToString
An object that converts a Charset to a
character set name String . |
static class |
MiscConverters.ClobToString
An object that converts a java.sql.Clob to a
String . |
static class |
MiscConverters.DecimalFormatToString
An object that converts a DecimalFormat to a
format pattern String . |
static class |
MiscConverters.EnumToString
|
static class |
MiscConverters.SimpleDateFormatToString
An object that converts a SimpleDateFormat to a
format pattern String . |
static class |
MiscConverters.StringToCharset
An object that converts a character set name String to a
Charset . |
static class |
MiscConverters.StringToDecimalFormat
An object that converts a format pattern String to a
DecimalFormat . |
static class |
MiscConverters.StringToLocale
An object that converts a Locale ID
String to a Locale . |
static class |
MiscConverters.StringToRegexPattern
An object that converts a pattern String to a
Pattern . |
static class |
MiscConverters.StringToSimpleDateFormat
An object that converts a format String to a
SimpleDateFormat . |
static class |
MiscConverters.StringToUUID
An object that converts a UUID String to a
UUID . |
static class |
NetConverters.InetAddressToString
An object that converts an InetAddress to a
String . |
static class |
NetConverters.StringToInetAddress
An object that converts a String to an
InetAddress . |
static class |
NetConverters.StringToURI
An object that converts a String to a
URI . |
static class |
NetConverters.StringToURL
An object that converts a String to a
URL . |
static class |
NetConverters.URIToURL
An object that converts a URI to a
URL . |
static class |
NetConverters.URLToURI
An object that converts a URL to a
URI . |
static class |
NumberConverters.AbstractNumberToStringConverter<N extends Number>
An abstract Number to String converter class
that implements some of the LocalizedConverter methods. |
static class |
NumberConverters.AbstractStringToNumberConverter<N extends Number>
An abstract String to Number converter class
that implements some of the LocalizedConverter methods. |
static class |
NumberConverters.BigDecimalToString
An object that converts a BigDecimal to a
String . |
static class |
NumberConverters.BigIntegerToString
An object that converts a BigInteger to a
String . |
static class |
NumberConverters.ByteToString
An object that converts a Byte to a
String . |
static class |
NumberConverters.DoubleToString
An object that converts a Double to a
String . |
static class |
NumberConverters.FloatToString
An object that converts a Float to a
String . |
static class |
NumberConverters.GenericNumberToBigDecimal<N extends Number>
An object that converts a Number to a
BigDecimal . |
static class |
NumberConverters.GenericNumberToBigInteger<N extends Number>
An object that converts a Number to a
BigInteger . |
static class |
NumberConverters.GenericNumberToByte<N extends Number>
An object that converts a Number to a
Byte . |
static class |
NumberConverters.GenericNumberToDouble<N extends Number>
An object that converts a Number to a
Double . |
static class |
NumberConverters.GenericNumberToFloat<N extends Number>
An object that converts a Number to a
Float . |
static class |
NumberConverters.GenericNumberToInteger<N extends Number>
An object that converts a Number to an
Integer . |
static class |
NumberConverters.GenericNumberToLong<N extends Number>
An object that converts a Number to a
Long . |
static class |
NumberConverters.GenericNumberToShort<N extends Number>
An object that converts a Number to a
Short . |
static class |
NumberConverters.IntegerToString
An object that converts an Integer to a
String . |
static class |
NumberConverters.LongToBigDecimal
An object that converts a Long to a
BigDecimal . |
static class |
NumberConverters.LongToString
An object that converts a Long to a
String . |
static class |
NumberConverters.ShortToString
An object that converts a Short to a
String . |
static class |
NumberConverters.StringToBigDecimal
An object that converts a String to a
BigDecimal . |
static class |
NumberConverters.StringToBigInteger
An object that converts a String to a
BigInteger . |
static class |
NumberConverters.StringToByte
An object that converts a String to a
Byte . |
static class |
NumberConverters.StringToDouble
An object that converts a String to a
Double . |
static class |
NumberConverters.StringToFloat
An object that converts a String to a
Float . |
static class |
NumberConverters.StringToInteger
An object that converts a String to an
Integer . |
static class |
NumberConverters.StringToLong
An object that converts a String to a
Long . |
static class |
NumberConverters.StringToShort
An object that converts a String to a
Short . |
Fields in org.apache.commons.convert with type parameters of type Converter | |
---|---|
protected static ConcurrentHashMap<String,Converter<?,?>> |
Converters.converterMap
|
Methods in org.apache.commons.convert that return Converter | ||
---|---|---|
|
MiscConverters.StringToEnumConverterCreator.createConverter(Class<S> sourceClass,
Class<T> targetClass)
|
|
|
Converters.PassThruConverterCreator.createConverter(Class<S> sourceClass,
Class<T> targetClass)
|
|
|
ConverterCreator.createConverter(Class<S> sourceClass,
Class<T> targetClass)
Creates a Converter that can convert the sourceClass to
the targetClass . |
|
|
CollectionConverters.ArrayCreator.createConverter(Class<S> sourceClass,
Class<T> targetClass)
|
|
|
CollectionConverters.ListCreator.createConverter(Class<S> sourceClass,
Class<T> targetClass)
|
|
|
CollectionConverters.SetCreator.createConverter(Class<S> sourceClass,
Class<T> targetClass)
|
|
static
|
Converters.getConverter(Class<S> sourceClass,
Class<T> targetClass)
Returns an appropriate Converter instance for
sourceClass and targetClass . |
Methods in org.apache.commons.convert with parameters of type Converter | ||
---|---|---|
protected static
|
NumberConverters.registerConverter(Converter<S,T> converter)
|
|
static
|
Converters.registerConverter(Converter<S,T> converter)
Registers a Converter instance to be used by the
Converters.getConverter(Class, Class)
method. |
|
static
|
Converters.registerConverter(Converter<S,T> converter,
Class<?> sourceClass,
Class<?> targetClass)
Registers a Converter instance to be used by the
Converters.getConverter(Class, Class)
method. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |