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 Bytes
Bytes. valueOf(String string)
Converts a string to a number of bytes.static Bytes
Bytes. 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 boolean
Strings. isTrue(String s)
Converts the text ins
to a corresponding boolean.<T> T
StringValue. to(Class<T> type)
Converts this StringValue to a given type.static Boolean
Strings. toBoolean(String s)
Converts the string s to a Boolean.boolean
StringValue. toBoolean()
Convert this text to a boolean.Boolean
StringValue. toBooleanObject()
Convert this text to a boolean.static char
Strings. toChar(String s)
Converts the 1 character string s to a character.char
StringValue. toChar()
Convert this text to a char.Character
StringValue. toCharacter()
Convert this text to a Character.double
StringValue. toDouble()
Convert this text to a double.Double
StringValue. toDoubleObject()
Convert this text to a Double.Duration
StringValue. toDuration()
Convert this text to a Duration instance.<T extends Enum<T>>
TStringValue. toEnum(Class<T> eClass)
Convert this text to an enum.Instant
StringValue. toInstant()
Convert this text to anInstant
instance.int
StringValue. toInt()
Convert this text to an int.Integer
StringValue. toInteger()
Convert this text to an Integer.long
StringValue. toLong()
Convert this text to a long.Long
StringValue. toLongObject()
Convert this text to a Long.<T> T
StringValue. toOptional(Class<T> type)
Converts this StringValue to a given type ornull
if the value is empty.Boolean
StringValue. toOptionalBoolean()
Convert to object types, returning null if text is null or empty.Character
StringValue. toOptionalCharacter()
Convert to object types, returning null if text is null or empty.Double
StringValue. toOptionalDouble()
Convert to object types, returning null if text is null or empty.Duration
StringValue. 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.Instant
StringValue. toOptionalInstant()
Convert to object types, returning null if text is null or empty.Integer
StringValue. toOptionalInteger()
Convert to object types, returning null if text is null or empty.Long
StringValue. 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 Duration
Duration. valueOf(String string)
Deprecated.Converts the givenString
to a newDuration
object.static Duration
Duration. valueOf(String string, Locale locale)
Deprecated.Converts the givenString
to a newDuration
object. -
Uses of StringValueConversionException in org.apache.wicket.util.value
Methods in org.apache.wicket.util.value that throw StringValueConversionException Modifier and Type Method Description boolean
CopyOnWriteValueMap. getBoolean(String key)
boolean
IValueMap. getBoolean(String key)
Retrieves aboolean
value by key.boolean
ValueMap. getBoolean(String key)
double
CopyOnWriteValueMap. getDouble(String key)
double
IValueMap. getDouble(String key)
Retrieves adouble
value by key.double
IValueMap. getDouble(String key, double defaultValue)
Retrieves adouble
value by key, using a default value if not found.double
ValueMap. getDouble(String key)
Duration
CopyOnWriteValueMap. getDuration(String key)
Duration
IValueMap. getDuration(String key)
Retrieves aDuration
by key.Duration
ValueMap. getDuration(String key)
Instant
CopyOnWriteValueMap. getInstant(String key)
Instant
IValueMap. getInstant(String key)
Retrieves aInstant
object by key.Instant
ValueMap. getInstant(String key)
int
CopyOnWriteValueMap. getInt(String key)
int
IValueMap. getInt(String key)
Retrieves anint
value by key.int
IValueMap. getInt(String key, int defaultValue)
Retrieves anint
value by key, using a default value if not found.int
ValueMap. getInt(String key)
long
CopyOnWriteValueMap. getLong(String key)
long
IValueMap. getLong(String key)
Retrieves along
value by key.long
IValueMap. getLong(String key, long defaultValue)
Retrieves along
value by key, using a default value if not found.long
ValueMap. getLong(String key)
-