Package | Description |
---|---|
software.amazon.ion |
Public interfaces of the core Ion system.
|
software.amazon.ion.util |
Various utilites for working with Ion data.
|
Modifier and Type | Class and Description |
---|---|
class |
ContainedValueException
An error caused by adding an
IonValue into a container when it's
already contained elsewhere. |
class |
EmptySymbolException
An error caused by a symbol not containing at least one character for
its text.
|
class |
InvalidSystemSymbolException
An error caused by use of an invalid symbol starting with
"$ion_" . |
class |
NullValueException
An error caused by invoking an inappropriate method on an Ion
null value. |
class |
ReadOnlyValueException
An error caused by an attempt to modify a read-only component.
|
class |
SubstituteSymbolTableException
An error caused by an operation that requires an exact match on an import
within the catalog.
|
class |
UnexpectedEofException
An error caused by processing an Ion input stream that ends in the middle of
a value.
|
class |
UnknownSymbolException
An error caused by a symbol ID that could not be translated into text
because it is not defined by the symbol table in context.
|
class |
UnsupportedIonVersionException
An error caused by a request for an Ion version that is not supported by
this implementation.
|
Modifier and Type | Method and Description |
---|---|
int |
IonDatagram.byteSize()
Gets the number of bytes used to encode this datagram.
|
<T extends IonValue> |
ValueFactory.clone(T value)
Creates a deep copy of an Ion value.
|
byte[] |
IonDatagram.getBytes()
Copies the binary-encoded form of this datagram into a new byte array.
|
int |
IonDatagram.getBytes(OutputStream out)
Copies the binary-encoded form of this datagram to a specified stream.
|
IonDatagram |
IonLoader.load(byte[] ionData)
Loads a block of Ion data into a single datagram,
detecting whether it's text or binary data.
|
IonDatagram |
IonLoader.load(File ionFile)
Loads an entire file of Ion data into a single datagram,
detecting whether it's text or binary data.
|
IonDatagram |
IonLoader.load(InputStream ionData)
Loads an entire stream of Ion data into a single datagram,
detecting whether it's text or binary data.
|
IonDatagram |
IonLoader.load(Reader ionText)
Loads a stream of Ion text into a single datagram.
|
IonDatagram |
IonLoader.load(String ionText)
Loads Ion text in its entirety.
|
Constructor and Description |
---|
JarInfo()
Constructs a new instance that can provide build information about this
library.
|