public final class NumberFormat extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NumberFormat() |
| Modifier and Type | Method and Description |
|---|---|
NumberFormat |
clone() |
String |
getPattern()
Pattern string used for formatting.
|
String |
getType()
The type of the number format.
|
NumberFormat |
set(String fieldName,
Object value) |
NumberFormat |
setPattern(String pattern)
Pattern string used for formatting.
|
NumberFormat |
setType(String type)
The type of the number format.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getPattern()
null for nonepublic NumberFormat setPattern(String pattern)
pattern - pattern or null for nonepublic String getType()
null for nonepublic NumberFormat setType(String type)
type - type or null for nonepublic NumberFormat set(String fieldName, Object value)
set in class GenericJsonpublic NumberFormat clone()
clone in class GenericJson