public class RegionShortcutConverter extends Object implements Converter<String,org.apache.geode.cache.RegionShortcut>
Converter
,
RegionShortcut
Constructor and Description |
---|
RegionShortcutConverter() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.RegionShortcut |
convert(String source)
Converts the source String representation of a Region Shortcut into a RegionShortcut 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.RegionShortcut convert(String source)
convert
in interface Converter<String,org.apache.geode.cache.RegionShortcut>
source
- the String representation of the Region Shortcut to convert.IllegalArgumentException
- if the String source is not a valid RegionShortcut enumerated value.RegionShortcut.valueOf(String)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.