| Modifier and Type | Field and Description |
|---|---|
| private final IonCatalog | _catalog
Not null. |
| private final IonReaderBuilder | |
| private final IonSystemLite |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IonCatalog | getCatalog()
Implements com. Gets the |
| public IonSystem | getSystem()
Implements com. Gets the |
| public IonDatagram | load(File
a file containing Ion data. ionFile)Implements com. Loads an entire file of Ion data into a single datagram, detecting whether it's text or binary data. |
| public IonDatagram | load(String
must not be null. ionText)Implements com. Loads Ion text in its entirety. |
| public IonDatagram | load(Reader
the reader from which to read Ion text. ionText)Implements com. Loads a stream of Ion text into a single datagram. |
| public IonDatagram | load(byte[]
may be either Ion binary data, or UTF-8 Ion text.
This method assumes ownership of the array and may modify it at
will. ionData)Implements com. Loads a block of Ion data into a single datagram, detecting whether it's text or binary data. |
| public IonDatagram | load(InputStream
the stream from which to read Ion data. ionData)Implements com. Warning Will cause a memory leak when reading a gzipped stream, use
|
| public IonDatagram | load(IonReader
@param reader source of the Ion data to load. reader)Implements com. Loads an entire stream of Ion data into a single datagram, detecting whether it's text or binary data. |
| private IonDatagramLite | Returns: a new datagram; not null.This doesn't wrap IOException because some callers need to propagate it. |
| _catalog | back to summary |
|---|---|
| private final IonCatalog _catalog Not null. | |
| _readerBuilder | back to summary |
|---|---|
| private final IonReaderBuilder _readerBuilder | |
| _system | back to summary |
|---|---|
| private final IonSystemLite _system | |
| IonLoaderLite | back to summary |
|---|---|
public IonLoaderLite(IonSystemLite system, IonCatalog catalog)
| |
| getCatalog | back to summary |
|---|---|
| public IonCatalog getCatalog() Implements com. Doc from com. Gets the
| |
| getSystem | back to summary |
|---|---|
| public IonSystem getSystem() Implements com. Doc from com. Gets the
| |
| load | back to summary |
|---|---|
| public IonDatagram load(File ionFile) throws IonException, IOException Implements com. Doc from com. Loads an entire file of Ion data into a single datagram, detecting whether it's text or binary data.
| |
| load | back to summary |
|---|---|
| public IonDatagram load(String ionText) throws IonException Implements com. Doc from com. Loads Ion text in its entirety.
| |
| load | back to summary |
|---|---|
| public IonDatagram load(Reader ionText) throws IonException, IOException Implements com. Doc from com. Loads a stream of Ion text into a single datagram. The specified reader remains open after this method returns. Because this library performs its own buffering, it's recommended that you avoid adding additional buffering to the given stream.
| |
| load | back to summary |
|---|---|
| public IonDatagram load(byte[] ionData) throws IonException Implements com. Doc from com. Loads a block of Ion data into a single datagram, detecting whether it's text or binary data. This method will auto-detect and uncompress GZIPped Ion data.
| |
| load | back to summary |
|---|---|
| public IonDatagram load(InputStream ionData) throws IonException, IOException Implements com. Doc from com. Warning Will cause a memory leak when reading a gzipped stream, use
The specified stream remains open after this method returns. This method will auto-detect and uncompress GZIPped Ion data. Because this library performs its own buffering, it's recommended that you avoid adding additional buffering to the given stream.
| |
| load | back to summary |
|---|---|
| public IonDatagram load(IonReader reader) throws IonException Implements com. Doc from com. Loads an entire stream of Ion data into a single datagram, detecting whether it's text or binary data. The specified reader remains open after this method returns.
| |
| load_helper | back to summary |
|---|---|
| private IonDatagramLite load_helper(IonReader reader) throws IOException This doesn't wrap IOException because some callers need to propagate it.
| |