public class ClientRegionShortcutConverter extends Object implements Converter<String,org.apache.geode.cache.client.ClientRegionShortcut>
Converter
,
ClientRegionShortcut
Constructor and Description |
---|
ClientRegionShortcutConverter() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.client.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 org.apache.geode.cache.client.ClientRegionShortcut convert(String source)
convert
in interface Converter<String,org.apache.geode.cache.client.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)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.