Package org.apache.sis.internal.storage.io
package org.apache.sis.internal.storage.io
Utility classes for the implementation of SIS storage classes.
Do not use!
This package is for internal use by SIS only. Classes in this package
may change in incompatible ways in any future version without notice.
- Since:
- 0.3
- Version:
- 1.4
-
ClassDescriptionCopies bytes from a source
Buffer
of arbitrary kind to a targetByteBuffer
.Writer forbyte
values.Writer fordouble
values.Writer forfloat
values.Writer forint
values.Writer forlong
values.Writer forshort
values.Properties common toChannelDataInput
andChannelDataOutput
.A mark pushed by theChannelData.mark()
method and pooled by theChannelData.reset()
method.Provides convenience methods for working with a (ReadableByteChannel
,ByteBuffer
) pair.Provides convenience methods for working with a (WritableByteChannel
,ByteBuffer
) pair.Opens a readable or writable channel for a given input object (URL, input stream, etc).A factory that returns an existing channel as-is.Adds the missing methods inChannelDataInput
for implementing theImageInputStream
interface.Adds the missing methods inChannelDataOutput
for implementing theDataOutput
interface.Transfers data from a buffer to an array specified at construction time.Helper methods for reading a rectangular area, a cube or a hyper-cube from a channel.Wraps anImageInputStream
as a standardInputStream
.StorageConnector
options not part of public API.Utility methods related to I/O operations.Stream reader or writer capable to mark its current position and reset to that position later.ADataTransfer
with all data in the given buffer, without channel.A channel which read no values.Wraps aChannelDataOutput
as a standardOutputStream
.A sub-area in a n-dimensional hyper-rectangle, optionally with subsampling.ALineNumberReader
which may be rewound to its original position even if the mark is no longer valid.