- CBOR_DATA_ITEM - Static variable in class com.google.iot.cbor.CborTag
-
CBOR tag indicating that the tagged byte string contains a CBOR-encoded data item.
- CborArray - Class in com.google.iot.cbor
-
Class for representing CBOR array data items.
- CborByteString - Class in com.google.iot.cbor
-
CBOR byte string object interface.
- CborConversionException - Exception in com.google.iot.cbor
-
Checked datatype conversion exception.
- CborConversionException() - Constructor for exception com.google.iot.cbor.CborConversionException
-
- CborConversionException(String) - Constructor for exception com.google.iot.cbor.CborConversionException
-
- CborConversionException(String, Throwable) - Constructor for exception com.google.iot.cbor.CborConversionException
-
- CborConversionException(Throwable) - Constructor for exception com.google.iot.cbor.CborConversionException
-
- CborException - Exception in com.google.iot.cbor
-
Checked exception superclass for CborTree-specific exceptions.
- CborException() - Constructor for exception com.google.iot.cbor.CborException
-
- CborException(String) - Constructor for exception com.google.iot.cbor.CborException
-
- CborException(String, Throwable) - Constructor for exception com.google.iot.cbor.CborException
-
- CborException(Throwable) - Constructor for exception com.google.iot.cbor.CborException
-
- CborFloat - Class in com.google.iot.cbor
-
CBOR floating-point number object interface.
- CborInteger - Class in com.google.iot.cbor
-
CBOR integer object interface.
- CborMajorType - Class in com.google.iot.cbor
-
Contains constants for CBOR major types.
- CborMap - Class in com.google.iot.cbor
-
Class for representing CBOR map data items.
- CborNumber - Interface in com.google.iot.cbor
-
Interface for CBOR data items representing numbers.
- CborObject - Class in com.google.iot.cbor
-
Base class for CBOR data items.
- CborParseException - Exception in com.google.iot.cbor
-
Checked CBOR data parsing exception.
- CborParseException() - Constructor for exception com.google.iot.cbor.CborParseException
-
- CborParseException(String) - Constructor for exception com.google.iot.cbor.CborParseException
-
- CborParseException(String, Throwable) - Constructor for exception com.google.iot.cbor.CborParseException
-
- CborParseException(Throwable) - Constructor for exception com.google.iot.cbor.CborParseException
-
- CborReader - Interface in com.google.iot.cbor
-
Interface for parsing CBOR data into
CborObject instances.
- CborRuntimeException - Exception in com.google.iot.cbor
-
Unchecked exception for CborTree-specific runtime errors.
- CborRuntimeException() - Constructor for exception com.google.iot.cbor.CborRuntimeException
-
- CborRuntimeException(String) - Constructor for exception com.google.iot.cbor.CborRuntimeException
-
- CborRuntimeException(String, Throwable) - Constructor for exception com.google.iot.cbor.CborRuntimeException
-
- CborRuntimeException(Throwable) - Constructor for exception com.google.iot.cbor.CborRuntimeException
-
- CborSimple - Class in com.google.iot.cbor
-
CBOR simple value object class.
- CborTag - Class in com.google.iot.cbor
-
Contains CBOR tag constants.
- CborTextString - Class in com.google.iot.cbor
-
CBOR text string object interface.
- CborWriter - Interface in com.google.iot.cbor
-
Interface for serializing
CborObject instances into CBOR-encoded data.
- clear() - Method in class com.google.iot.cbor.CborArray
-
- clear() - Method in class com.google.iot.cbor.CborMap
-
- com.google.iot.cbor - package com.google.iot.cbor
-
CborTree: A Java API for decoding, manipulating, and encoding CBOR data items.
- containsKey(String) - Method in class com.google.iot.cbor.CborMap
-
Convenience test method to allow the use of standard
String objects when the keys in
the map are all
CborTextString.
- copy() - Method in class com.google.iot.cbor.CborArray
-
Creates an independent, deep copy of this object.
- copy() - Method in class com.google.iot.cbor.CborByteString
-
- copy() - Method in class com.google.iot.cbor.CborFloat
-
- copy() - Method in class com.google.iot.cbor.CborInteger
-
- copy() - Method in class com.google.iot.cbor.CborMap
-
Creates an independent, deep copy of this
CborMap.
- copy() - Method in class com.google.iot.cbor.CborObject
-
Creates an independent, deep copy of this data item.
- copy() - Method in class com.google.iot.cbor.CborSimple
-
- copy() - Method in class com.google.iot.cbor.CborTextString
-
- create() - Static method in class com.google.iot.cbor.CborArray
-
- create(int) - Static method in class com.google.iot.cbor.CborArray
-
- create(Iterable<CborObject>) - Static method in class com.google.iot.cbor.CborArray
-
Creates an untagged
CborArray populated with the given CborObjects.
- create(Iterable<CborObject>, int) - Static method in class com.google.iot.cbor.CborArray
-
Creates a tagged
CborArray populated with the given CborObjects.
- create(Iterable<CborObject>, int, boolean) - Static method in class com.google.iot.cbor.CborArray
-
Creates a tagged
CborArray populated with the given CborObjects.
- create(byte[][], long, long, int) - Static method in class com.google.iot.cbor.CborByteString
-
- create(byte[], int, int, int) - Static method in class com.google.iot.cbor.CborByteString
-
- create(byte[], int, int) - Static method in class com.google.iot.cbor.CborByteString
-
- create(byte[]) - Static method in class com.google.iot.cbor.CborByteString
-
- create(float) - Static method in class com.google.iot.cbor.CborFloat
-
Creates an untagged
CborFloat instance that will be encoded as a four-byte float.
- create(float, int) - Static method in class com.google.iot.cbor.CborFloat
-
Creates a tagged
CborFloat instance that will be encoded as a four-byte float.
- create(double) - Static method in class com.google.iot.cbor.CborFloat
-
Creates an untagged
CborFloat instance that will be encoded as an eight-byte
double-float.
- create(double, int) - Static method in class com.google.iot.cbor.CborFloat
-
Creates a tagged
CborFloat instance that will be encoded as a eight-byte
double-float.
- create(Number) - Static method in class com.google.iot.cbor.CborInteger
-
- create(Number, int) - Static method in class com.google.iot.cbor.CborInteger
-
- create(Number, int, Integer) - Static method in class com.google.iot.cbor.CborInteger
-
- create(int) - Static method in class com.google.iot.cbor.CborMap
-
Creates an empty, tagged
CborMap object.
- create(Map<CborObject, CborObject>, int) - Static method in class com.google.iot.cbor.CborMap
-
Creates a tagged
CborMap object populated with the keys and values from
map
.
- create(Map<CborObject, CborObject>, int, boolean) - Static method in class com.google.iot.cbor.CborMap
-
Creates a tagged
CborMap object populated with the keys and values from
map
.
- create(Map<CborObject, CborObject>) - Static method in class com.google.iot.cbor.CborMap
-
Creates a
CborMap object populated with the keys and values from
map.
- create() - Static method in class com.google.iot.cbor.CborMap
-
Creates an empty, untagged
CborMap object.
- create(int, int) - Static method in class com.google.iot.cbor.CborSimple
-
Method for obtaining a tagged instance for "simple values" that contains no data.
- create(int) - Static method in class com.google.iot.cbor.CborSimple
-
Method for obtaining an untagged singleton instance for "simple values" that contains no
data.
- create(byte[][], int[], int[], int, boolean) - Static method in class com.google.iot.cbor.CborTextString
-
- create(byte[], int, int, int, boolean) - Static method in class com.google.iot.cbor.CborTextString
-
- create(byte[], int, int) - Static method in class com.google.iot.cbor.CborTextString
-
- create(byte[]) - Static method in class com.google.iot.cbor.CborTextString
-
- create(String, int) - Static method in class com.google.iot.cbor.CborTextString
-
- create(String) - Static method in class com.google.iot.cbor.CborTextString
-
- createFromByteArray(byte[], int, int) - Static method in interface com.google.iot.cbor.CborReader
-
Creates a
CborReader instance from a byte array with starting offset and a total
object count.
- createFromByteArray(byte[], int) - Static method in interface com.google.iot.cbor.CborReader
-
Creates a
CborReader instance from a byte array with starting offset.
- createFromByteArray(byte[]) - Static method in interface com.google.iot.cbor.CborReader
-
- createFromByteBuffer(ByteBuffer) - Static method in interface com.google.iot.cbor.CborWriter
-
- createFromCborByteArray(byte[], int, int) - Static method in class com.google.iot.cbor.CborMap
-
Parses the given CBOR byte array into a
CborMap object.
- createFromCborByteArray(byte[]) - Static method in class com.google.iot.cbor.CborMap
-
Parses the given CBOR byte array into a
CborMap object.
- createFromCborByteArray(byte[], int, int) - Static method in class com.google.iot.cbor.CborObject
-
Creates a new
CborObject from a CBOR-encoded byte array starting at a given offset.
- createFromCborByteArray(byte[]) - Static method in class com.google.iot.cbor.CborObject
-
Creates a new
CborObject from a CBOR-encoded byte array.
- createFromInputStream(InputStream, int) - Static method in interface com.google.iot.cbor.CborReader
-
- createFromInputStream(InputStream) - Static method in interface com.google.iot.cbor.CborReader
-
- createFromJavaObject(Iterable<?>) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(Object[]) - Static method in class com.google.iot.cbor.CborArray
-
Converts an object array to an untagged
CborArray.
- createFromJavaObject(int[]) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(short[]) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(long[]) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(boolean[]) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(float[]) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(double[]) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJavaObject(Map<?, ?>) - Static method in class com.google.iot.cbor.CborMap
-
Converts the given Java
Map into a
CborMap object.
- createFromJavaObject(Object) - Static method in class com.google.iot.cbor.CborObject
-
Creates a new
CborObject based on the given Java object.
- createFromJSONArray(JSONArray) - Static method in class com.google.iot.cbor.CborArray
-
- createFromJSONObject(JSONObject) - Static method in class com.google.iot.cbor.CborMap
-
Creates a untagged
CborMap object from the given
JSONObject.
- createFromOutputStream(OutputStream) - Static method in interface com.google.iot.cbor.CborWriter
-
- createHalf(float) - Static method in class com.google.iot.cbor.CborFloat
-
Creates an untagged
CborFloat instance that will be encoded as a two-byte half-float.
- createHalf(float, int) - Static method in class com.google.iot.cbor.CborFloat
-
Creates a tagged
CborFloat instance that will be encoded as a two-byte half-float.
- TAG - Static variable in class com.google.iot.cbor.CborMajorType
-
CBOR major type for CBOR tags.
- TEXT_STRING - Static variable in class com.google.iot.cbor.CborMajorType
-
CBOR major type for text strings.
- TIME_DATE_STRING - Static variable in class com.google.iot.cbor.CborTag
-
CBOR tag indicating that the tagged string is a RFC3339-formatted timestamp.
- TIMESTAMP_UNIX - Static variable in class com.google.iot.cbor.CborTag
-
CBOR tag indicating that the tagged integer represents the number of seconds since
1970-01-01T00:00Z.
- toCborByteArray() - Method in class com.google.iot.cbor.CborObject
-
Convenience method to quickly obtaining a CBOR byte-encoding of this data item.
- toJavaObject() - Method in class com.google.iot.cbor.CborArray
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborArray
-
- toJavaObject() - Method in class com.google.iot.cbor.CborByteString
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborByteString
-
- toJavaObject() - Method in class com.google.iot.cbor.CborFloat
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborFloat
-
- toJavaObject() - Method in class com.google.iot.cbor.CborInteger
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborInteger
-
- toJavaObject() - Method in class com.google.iot.cbor.CborMap
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborMap
-
- toJavaObject() - Method in class com.google.iot.cbor.CborObject
-
Converts the given data item into a standard java object representation.
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborObject
-
Attempts to convert this data item to a java object with a specific class.
- toJavaObject() - Method in class com.google.iot.cbor.CborSimple
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborSimple
-
- toJavaObject() - Method in class com.google.iot.cbor.CborTextString
-
- toJavaObject(Class<T>) - Method in class com.google.iot.cbor.CborTextString
-
- toJsonString() - Method in class com.google.iot.cbor.CborArray
-
- toJsonString() - Method in class com.google.iot.cbor.CborByteString
-
- toJsonString() - Method in class com.google.iot.cbor.CborFloat
-
- toJsonString() - Method in class com.google.iot.cbor.CborInteger
-
- toJsonString() - Method in class com.google.iot.cbor.CborMap
-
- toJsonString() - Method in class com.google.iot.cbor.CborObject
-
Returns a representation of this data item as JSON text.
- toJsonString() - Method in class com.google.iot.cbor.CborSimple
-
- toJsonString() - Method in class com.google.iot.cbor.CborTextString
-
- toNormalMap() - Method in class com.google.iot.cbor.CborMap
-
Converts the
CborMap into a standard Java
Map<String,Object> that is
guaranteed to use
String objects for keys.
- toString(int) - Method in class com.google.iot.cbor.CborArray
-
- toString(int) - Method in class com.google.iot.cbor.CborByteString
-
- toString() - Method in class com.google.iot.cbor.CborByteString
-
- toString(int) - Method in class com.google.iot.cbor.CborFloat
-
- toString() - Method in class com.google.iot.cbor.CborFloat
-
- toString(int) - Method in class com.google.iot.cbor.CborInteger
-
- toString() - Method in class com.google.iot.cbor.CborInteger
-
- toString(int) - Method in class com.google.iot.cbor.CborMap
-
- toString() - Method in class com.google.iot.cbor.CborObject
-
Describes this data item using CBOR diagnostic notation.
- toString(int) - Method in class com.google.iot.cbor.CborObject
-
Describes this data item using CBOR diagnostic notation at the given indentation level.
- toString(int) - Method in class com.google.iot.cbor.CborSimple
-
- toString() - Method in class com.google.iot.cbor.CborSimple
-
- toString(int) - Method in class com.google.iot.cbor.CborTextString
-
- toString() - Method in class com.google.iot.cbor.CborTextString
-
- TRUE - Static variable in class com.google.iot.cbor.CborSimple
-
CBOR simple value constant instance for "true".
- TYPE_DOUBLE - Static variable in class com.google.iot.cbor.CborFloat
-
Value of the "additional information" field when contained value is an eight-byte
double-float.
- TYPE_FLOAT - Static variable in class com.google.iot.cbor.CborFloat
-
Value of the "additional information" field when contained value is a four-byte float.
- TYPE_HALF - Static variable in class com.google.iot.cbor.CborFloat
-
Value of the "additional information" field when contained value is a two-byte half-float.