- All Implemented Interfaces:
- Converter<String,,- Object> - Decoder<String,,- Object> - Encoder<Object,,- String> - JoinableEncoder<Object,,- String> - JoinablePrimitiveEncoder<String>,- ObjectConverter<String>,- PrimitiveDecoder<String>,- PrimitiveEncoder<String>,- SplittableDecoder<String,,- Object> - SplittablePrimitiveDecoder<String>
A converter that converts strings to objects.
This converter is an object converter and as such it can convert collection of objects using a customizable separator.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a string converter with the default array/list separator.StringConverter(String arrayListSeparator) Creates a string converter with the specified array/list separator.
- 
Method SummaryModifier and TypeMethodDescription<T> TDecodes the specified value to an object whose type is represented by the specified class.<T> TDecodes the specified value to an object of the specified type.decodeBigDecimal(String value) Decodes to big decimal.decodeBigInteger(String value) Decodes to big integer.decodeBoolean(String value) Decodes to boolean.decodeByte(String value) Decodes to byte.decodeCharacter(String value) Decodes to character.<T> Class<T> decodeClass(String value) Decodes to class.decodeCurrency(String value) Decodes to currency.decodeDouble(String value) Decodes to double.decodeFile(String value) Decodes to file.decodeFloat(String value) Decodes to float.decodeInetAddress(String value) Decodes to inet address.decodeInetSocketAddress(String value) Decodes to inet socket address.decodeInteger(String value) Decodes to integer.decodeLocalDate(String value) Decodes to local date.decodeLocalDateTime(String value) Decodes to local datetime.decodeLocale(String value) Decodes to locale.decodeLong(String value) Decodes to long.decodePath(String value) Decodes to path.decodePattern(String value) Decodes to pattern.decodeShort(String value) Decodes to short.decodeString(String value) Decodes to string.<T> T[]decodeToArray(String value, Class<T> type) Decodes the specified value whose type is represented by the specified class to an array of decoded values.<T> T[]decodeToArray(String value, Type type) Decodes the specified value whose type is the specified type to an array of decoded values.<T> List<T> decodeToList(String value, Class<T> type) Decodes the specified value whose type is represented by the specified class to a list of decoded values.<T> List<T> decodeToList(String value, Type type) Decodes the specified value whose type is the specified type to a list of decoded values.<T> Set<T> decodeToSet(String value, Class<T> type) Decodes the specified value whose type is represented by the specified class to a set of decoded values.<T> Set<T> decodeToSet(String value, Type type) Decodes the specified value whose type is the specified type to a set of decoded values.Decodes to URI.Decodes to URL.decodeZonedDateTime(String value) Decodes to zoned datetime.Encodes file.Encodes boolean.Encodes byte.Encodes character.Encodes class.Encodes double.Encodes float.Encodes integer.Encodes long.Encodes short.Encodes string.encode(BigDecimal value) Encodes big decimal.encode(BigInteger value) Encodes big integer.encode(InetAddress value) Encodes inet address.encode(InetSocketAddress value) Encodes inet socket address.Encodes URI.Encodes URL.Encodes path.Encodes local date.encode(LocalDateTime value) Encodes local datetime.encode(ZonedDateTime value) Encodes zoned datetime.Encodes currency.Encodes locale.Encodes pattern.<T> Stringencode(T value) Encodes the specified value to the encoded type.<T> StringEncodes the specified value whose type is represented by the specified class to the encoded type.<T> StringEncodes the specified value whose type is the specified type to the encoded type.<T> StringencodeArray(T[] value) Encodes the specified array of values to the encoded type.<T> StringencodeArray(T[] value, Class<T> type) Encodes the specified array of values whose type is represented by the specified class to the encoded type.<T> StringencodeArray(T[] value, Type type) Encodes the specified array of values whose type is represented by the specified class to the encoded type.<T> StringencodeList(List<T> value) Encodes the specified list of values to an encoded value.<T> StringencodeList(List<T> value, Class<T> type) Encodes the specified list of values whose type is represented by the specified class to an encoded value.<T> StringencodeList(List<T> value, Type type) Encodes the specified list of values whose type is the specified type to an encoded value.<T> StringEncodes the specified set of values to an encoded value.<T> StringEncodes the specified set of values whose type is represented by the specified class to an encoded value.<T> StringEncodes the specified set of values whose type is the specified type to an encoded value.Returns the array/list separator used to convert lists and arrays.voidsetArrayListSeparator(String arrayListSeparator) Sets the array/list separator used to convert lists and arrays.
- 
Field Details- 
DEFAULT_ARRAY_LIST_SEPARATORDefault array list separator- See Also:
 
 
- 
- 
Constructor Details- 
StringConverterpublic StringConverter()Creates a string converter with the default array/list separator. 
- 
StringConverterCreates a string converter with the specified array/list separator. - Parameters:
- arrayListSeparator- an array/list separator
 
 
- 
- 
Method Details- 
getArrayListSeparatorReturns the array/list separator used to convert lists and arrays. - Returns:
- an array/list separator
 
- 
setArrayListSeparatorSets the array/list separator used to convert lists and arrays. - Parameters:
- arrayListSeparator- an array/list separator
 
- 
encodeDescription copied from interface:EncoderEncodes the specified value to the encoded type. 
- 
encodeDescription copied from interface:EncoderEncodes the specified value whose type is represented by the specified class to the encoded type. - Specified by:
- encodein interface- Encoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the object to encode
- type- the class of the decoded object
- Returns:
- an encoded object
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:EncoderEncodes the specified value whose type is the specified type to the encoded type. - Specified by:
- encodein interface- Encoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the object to encode
- type- the type of the decoded object
- Returns:
- an encoded object
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeListDescription copied from interface:JoinableEncoderEncodes the specified list of values to an encoded value. - Specified by:
- encodeListin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the list of objects to encode
- Returns:
- an encoded value
 
- 
encodeListDescription copied from interface:JoinableEncoderEncodes the specified list of values whose type is represented by the specified class to an encoded value. - Specified by:
- encodeListin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the list of objects to encode
- type- the class of the decoded object
- Returns:
- an encoded value
 
- 
encodeListDescription copied from interface:JoinableEncoderEncodes the specified list of values whose type is the specified type to an encoded value. - Specified by:
- encodeListin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the list of objects to encode
- type- the type of the decoded object
- Returns:
- an encoded value
 
- 
encodeSetDescription copied from interface:JoinableEncoderEncodes the specified set of values to an encoded value. - Specified by:
- encodeSetin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the set of objects to encode
- Returns:
- an encoded value
 
- 
encodeSetDescription copied from interface:JoinableEncoderEncodes the specified set of values whose type is represented by the specified class to an encoded value. - Specified by:
- encodeSetin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the set of objects to encode
- type- the class of the decoded object
- Returns:
- an encoded value
 
- 
encodeSetDescription copied from interface:JoinableEncoderEncodes the specified set of values whose type is the specified type to an encoded value. - Specified by:
- encodeSetin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the set of objects to encode
- type- the type of the decoded object
- Returns:
- an encoded value
 
- 
encodeArrayDescription copied from interface:JoinableEncoderEncodes the specified array of values to the encoded type. - Specified by:
- encodeArrayin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the array of objects to encode
- Returns:
- an encoded value
 
- 
encodeArrayDescription copied from interface:JoinableEncoderEncodes the specified array of values whose type is represented by the specified class to the encoded type. - Specified by:
- encodeArrayin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the array of objects to encode
- type- the class of the decoded object
- Returns:
- an encoded value
 
- 
encodeArrayDescription copied from interface:JoinableEncoderEncodes the specified array of values whose type is represented by the specified class to the encoded type. - Specified by:
- encodeArrayin interface- JoinableEncoder<Object,- String> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the array of objects to encode
- type- the class of the decoded object
- Returns:
- an encoded value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes byte. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes short. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes integer. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes long. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes float. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes double. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes character. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes boolean. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes string. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes big integer. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes big decimal. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes local date. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes local datetime. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes zoned datetime. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes currency. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes locale. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes file. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes path. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes URI. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes URL. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes pattern. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes inet address. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes inet socket address. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
encodeDescription copied from interface:PrimitiveEncoderEncodes class. - Specified by:
- encodein interface- PrimitiveEncoder<String>
- Parameters:
- value- the value to encode
- Returns:
- an encoded value
- Throws:
- ConverterException- if there was an error encoding the value
 
- 
decodeDescription copied from interface:DecoderDecodes the specified value to an object whose type is represented by the specified class. 
- 
decodeDescription copied from interface:DecoderDecodes the specified value to an object of the specified type. - Specified by:
- decodein interface- Decoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the object to decode
- type- the type of the decoded object
- Returns:
- a decoded object
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeToListDescription copied from interface:SplittableDecoderDecodes the specified value whose type is represented by the specified class to a list of decoded values. - Specified by:
- decodeToListin interface- SplittableDecoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the value to decode
- type- the class of the decoded object
- Returns:
- a list of decoded values
- Throws:
- ConverterException
 
- 
decodeToListDescription copied from interface:SplittableDecoderDecodes the specified value whose type is the specified type to a list of decoded values. - Specified by:
- decodeToListin interface- SplittableDecoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the value to decode
- type- the type of the decoded object
- Returns:
- a list of decoded values
- Throws:
- ConverterException
 
- 
decodeToSetDescription copied from interface:SplittableDecoderDecodes the specified value whose type is represented by the specified class to a set of decoded values. - Specified by:
- decodeToSetin interface- SplittableDecoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the value to decode
- type- the class of the decoded object
- Returns:
- a set of decoded values
- Throws:
- ConverterException
 
- 
decodeToSetDescription copied from interface:SplittableDecoderDecodes the specified value whose type is the specified type to a set of decoded values. - Specified by:
- decodeToSetin interface- SplittableDecoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the value to decode
- type- the type of the decoded object
- Returns:
- a set of decoded values
- Throws:
- ConverterException
 
- 
decodeToArrayDescription copied from interface:SplittableDecoderDecodes the specified value whose type is represented by the specified class to an array of decoded values. - Specified by:
- decodeToArrayin interface- SplittableDecoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the value to decode
- type- the class of the decoded object
- Returns:
- an array of decoded values
- Throws:
- ConverterException
 
- 
decodeToArrayDescription copied from interface:SplittableDecoderDecodes the specified value whose type is the specified type to an array of decoded values. - Specified by:
- decodeToArrayin interface- SplittableDecoder<String,- Object> 
- Type Parameters:
- T- the type of the decoded object
- Parameters:
- value- the value to decode
- type- the type of the decoded object
- Returns:
- an array of decoded values
- Throws:
- ConverterException
 
- 
decodeByteDescription copied from interface:PrimitiveDecoderDecodes to byte. - Specified by:
- decodeBytein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeShortDescription copied from interface:PrimitiveDecoderDecodes to short. - Specified by:
- decodeShortin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeIntegerDescription copied from interface:PrimitiveDecoderDecodes to integer. - Specified by:
- decodeIntegerin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeLongDescription copied from interface:PrimitiveDecoderDecodes to long. - Specified by:
- decodeLongin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeFloatDescription copied from interface:PrimitiveDecoderDecodes to float. - Specified by:
- decodeFloatin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeDoubleDescription copied from interface:PrimitiveDecoderDecodes to double. - Specified by:
- decodeDoublein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeCharacterDescription copied from interface:PrimitiveDecoderDecodes to character. - Specified by:
- decodeCharacterin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeBooleanDescription copied from interface:PrimitiveDecoderDecodes to boolean. - Specified by:
- decodeBooleanin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeStringDescription copied from interface:PrimitiveDecoderDecodes to string. - Specified by:
- decodeStringin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeBigIntegerDescription copied from interface:PrimitiveDecoderDecodes to big integer. - Specified by:
- decodeBigIntegerin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeBigDecimalDescription copied from interface:PrimitiveDecoderDecodes to big decimal. - Specified by:
- decodeBigDecimalin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeLocalDateDescription copied from interface:PrimitiveDecoderDecodes to local date. - Specified by:
- decodeLocalDatein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeLocalDateTimeDescription copied from interface:PrimitiveDecoderDecodes to local datetime. - Specified by:
- decodeLocalDateTimein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeZonedDateTimeDescription copied from interface:PrimitiveDecoderDecodes to zoned datetime. - Specified by:
- decodeZonedDateTimein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeCurrencyDescription copied from interface:PrimitiveDecoderDecodes to currency. - Specified by:
- decodeCurrencyin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeLocaleDescription copied from interface:PrimitiveDecoderDecodes to locale. - Specified by:
- decodeLocalein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeFileDescription copied from interface:PrimitiveDecoderDecodes to file. - Specified by:
- decodeFilein interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodePathDescription copied from interface:PrimitiveDecoderDecodes to path. - Specified by:
- decodePathin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeURIDescription copied from interface:PrimitiveDecoderDecodes to URI. - Specified by:
- decodeURIin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeURLDescription copied from interface:PrimitiveDecoderDecodes to URL. - Specified by:
- decodeURLin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodePatternDescription copied from interface:PrimitiveDecoderDecodes to pattern. - Specified by:
- decodePatternin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeInetAddressDescription copied from interface:PrimitiveDecoderDecodes to inet address. - Specified by:
- decodeInetAddressin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeInetSocketAddressDescription copied from interface:PrimitiveDecoderDecodes to inet socket address. - Specified by:
- decodeInetSocketAddressin interface- PrimitiveDecoder<String>
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
- 
decodeClassDescription copied from interface:PrimitiveDecoderDecodes to class. - Specified by:
- decodeClassin interface- PrimitiveDecoder<String>
- Type Parameters:
- T- the target class type
- Parameters:
- value- the encoded value to decode
- Returns:
- a decoded value
- Throws:
- ConverterException- if there was an error decoding the value
 
 
-