Uses of Class
org.apache.wicket.util.string.StringValueConversionException
Packages that use StringValueConversionException
Package
Description
String utilities.
This package provides casting utilities.
-
Uses of StringValueConversionException in org.apache.wicket.util.lang
Methods in org.apache.wicket.util.lang that throw StringValueConversionException -
Uses of StringValueConversionException in org.apache.wicket.util.string
Methods in org.apache.wicket.util.string that throw StringValueConversionExceptionModifier and TypeMethodDescriptionstatic booleanConverts the text insto a corresponding boolean.final <T> TConverts this StringValue to a given type.static BooleanConverts the string s to a Boolean.final booleanStringValue.toBoolean()Convert this text to a boolean.final BooleanStringValue.toBooleanObject()Convert this text to a boolean.static charConverts the 1 character string s to a character.final charStringValue.toChar()Convert this text to a char.final CharacterStringValue.toCharacter()Convert this text to a Character.final doubleStringValue.toDouble()Convert this text to a double.final DoubleStringValue.toDoubleObject()Convert this text to a Double.final DurationStringValue.toDuration()Convert this text to a Duration instance.final <T extends Enum<T>>
TConvert this text to an enum.final InstantStringValue.toInstant()Convert this text to anInstantinstance.final intStringValue.toInt()Convert this text to an int.final IntegerStringValue.toInteger()Convert this text to an Integer.final longStringValue.toLong()Convert this text to a long.final LongStringValue.toLongObject()Convert this text to a Long.final <T> TStringValue.toOptional(Class<T> type) Converts this StringValue to a given type ornullif the value is empty.final BooleanStringValue.toOptionalBoolean()Convert to object types, returning null if text is null or empty.final CharacterStringValue.toOptionalCharacter()Convert to object types, returning null if text is null or empty.final DoubleStringValue.toOptionalDouble()Convert to object types, returning null if text is null or empty.final DurationStringValue.toOptionalDuration()Convert to object types, returning null if text is null or empty.final <T extends Enum<T>>
TStringValue.toOptionalEnum(Class<T> eClass) Convert to enum, returning null if text is null or empty.final InstantStringValue.toOptionalInstant()Convert to object types, returning null if text is null or empty.final IntegerStringValue.toOptionalInteger()Convert to object types, returning null if text is null or empty.final LongStringValue.toOptionalLong()Convert to object types, returning null if text is null or empty. -
Uses of StringValueConversionException in org.apache.wicket.util.value
Methods in org.apache.wicket.util.value that throw StringValueConversionExceptionModifier and TypeMethodDescriptionbooleanCopyOnWriteValueMap.getBoolean(String key) booleanIValueMap.getBoolean(String key) Retrieves abooleanvalue by key.final booleanValueMap.getBoolean(String key) doubledoubleRetrieves adoublevalue by key.doubleRetrieves adoublevalue by key, using a default value if not found.final doubleCopyOnWriteValueMap.getDuration(String key) IValueMap.getDuration(String key) Retrieves aDurationby key.final DurationValueMap.getDuration(String key) CopyOnWriteValueMap.getInstant(String key) IValueMap.getInstant(String key) Retrieves aInstantobject by key.final InstantValueMap.getInstant(String key) intintRetrieves anintvalue by key.intRetrieves anintvalue by key, using a default value if not found.final intlonglongRetrieves alongvalue by key.longRetrieves alongvalue by key, using a default value if not found.final long