Uses of Class
org.apache.wicket.util.string.StringValueConversionException
-
Packages that use StringValueConversionException Package Description org.apache.wicket.util.lang org.apache.wicket.util.string String utilities.org.apache.wicket.util.time Utilities for working withTime(s).org.apache.wicket.util.value This package provides casting utilities. -
-
Uses of StringValueConversionException in org.apache.wicket.util.lang
Methods in org.apache.wicket.util.lang that throw StringValueConversionException Modifier and Type Method Description static BytesBytes. valueOf(String string)Converts a string to a number of bytes.static BytesBytes. valueOf(String string, Locale locale)Converts a string to a number of bytes. -
Uses of StringValueConversionException in org.apache.wicket.util.string
Methods in org.apache.wicket.util.string that throw StringValueConversionException Modifier and Type Method Description static booleanStrings. isTrue(String s)Converts the text insto a corresponding boolean.<T> TStringValue. to(Class<T> type)Converts this StringValue to a given type.static BooleanStrings. toBoolean(String s)Converts the string s to a Boolean.booleanStringValue. toBoolean()Convert this text to a boolean.BooleanStringValue. toBooleanObject()Convert this text to a boolean.static charStrings. toChar(String s)Converts the 1 character string s to a character.charStringValue. toChar()Convert this text to a char.CharacterStringValue. toCharacter()Convert this text to a Character.doubleStringValue. toDouble()Convert this text to a double.DoubleStringValue. toDoubleObject()Convert this text to a Double.DurationStringValue. toDuration()Convert this text to a Duration instance.<T extends Enum<T>>
TStringValue. toEnum(Class<T> eClass)Convert this text to an enum.InstantStringValue. toInstant()Convert this text to anInstantinstance.intStringValue. toInt()Convert this text to an int.IntegerStringValue. toInteger()Convert this text to an Integer.longStringValue. toLong()Convert this text to a long.LongStringValue. toLongObject()Convert this text to a Long.<T> TStringValue. toOptional(Class<T> type)Converts this StringValue to a given type ornullif the value is empty.BooleanStringValue. toOptionalBoolean()Convert to object types, returning null if text is null or empty.CharacterStringValue. toOptionalCharacter()Convert to object types, returning null if text is null or empty.DoubleStringValue. toOptionalDouble()Convert to object types, returning null if text is null or empty.DurationStringValue. toOptionalDuration()Convert to object types, returning null if text is null or empty.<T extends Enum<T>>
TStringValue. toOptionalEnum(Class<T> eClass)Convert to enum, returning null if text is null or empty.InstantStringValue. toOptionalInstant()Convert to object types, returning null if text is null or empty.IntegerStringValue. toOptionalInteger()Convert to object types, returning null if text is null or empty.LongStringValue. toOptionalLong()Convert to object types, returning null if text is null or empty. -
Uses of StringValueConversionException in org.apache.wicket.util.time
Methods in org.apache.wicket.util.time that throw StringValueConversionException Modifier and Type Method Description static DurationDuration. valueOf(String string)Deprecated.Converts the givenStringto a newDurationobject.static DurationDuration. valueOf(String string, Locale locale)Deprecated.Converts the givenStringto a newDurationobject. -
Uses of StringValueConversionException in org.apache.wicket.util.value
Methods in org.apache.wicket.util.value that throw StringValueConversionException Modifier and Type Method Description booleanCopyOnWriteValueMap. getBoolean(String key)booleanIValueMap. getBoolean(String key)Retrieves abooleanvalue by key.booleanValueMap. getBoolean(String key)doubleCopyOnWriteValueMap. getDouble(String key)doubleIValueMap. getDouble(String key)Retrieves adoublevalue by key.doubleIValueMap. getDouble(String key, double defaultValue)Retrieves adoublevalue by key, using a default value if not found.doubleValueMap. getDouble(String key)DurationCopyOnWriteValueMap. getDuration(String key)DurationIValueMap. getDuration(String key)Retrieves aDurationby key.DurationValueMap. getDuration(String key)InstantCopyOnWriteValueMap. getInstant(String key)InstantIValueMap. getInstant(String key)Retrieves aInstantobject by key.InstantValueMap. getInstant(String key)intCopyOnWriteValueMap. getInt(String key)intIValueMap. getInt(String key)Retrieves anintvalue by key.intIValueMap. getInt(String key, int defaultValue)Retrieves anintvalue by key, using a default value if not found.intValueMap. getInt(String key)longCopyOnWriteValueMap. getLong(String key)longIValueMap. getLong(String key)Retrieves alongvalue by key.longIValueMap. getLong(String key, long defaultValue)Retrieves alongvalue by key, using a default value if not found.longValueMap. getLong(String key)
-