public class ClientRegionShortcutConverter extends Object implements Converter<String,ClientRegionShortcut>
Converter
,
ClientRegionShortcut
Constructor and Description |
---|
ClientRegionShortcutConverter() |
Modifier and Type | Method and Description |
---|---|
ClientRegionShortcut |
convert(String source)
Converts the source String representation of a Client Region Shortcut into a ClientRegionShortcut enumerated
value.
|
protected static String |
toUpperCase(String value)
Converts the String value to upper case, trimming all whitespace.
|
protected static String toUpperCase(String value)
value
- the String to convert to a trimmed, upper case value.String.toUpperCase()
,
String.trim()
,
String.valueOf(Object)
public ClientRegionShortcut convert(String source)
convert
in interface Converter<String,ClientRegionShortcut>
source
- the String representation of the Client Region Shortcut to convert.IllegalArgumentException
- if the String source is not a valid ClientRegionShortcut enumerated value.ClientRegionShortcut.valueOf(String)