| Package | Description |
|---|---|
| org.scijava.download | |
| org.scijava.io.handle | |
| org.scijava.io.http |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiWriteHandle
DataHandle plugin for writing to multiple DataHandles. |
| Constructor and Description |
|---|
MultiWriteHandle(DataHandle<?>... handles) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ResettableStreamHandle<L extends Location>
|
interface |
SeekableStreamHandle<L extends Location>
|
interface |
StreamHandle<L extends Location>
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataHandle<L extends Location>
Abstract base class for
DataHandle plugins. |
class |
AbstractHigherOrderHandle<L extends Location>
Abstract superclass for
DataHandles that operate over other
DataHandles. |
class |
AbstractSeekableStreamHandle<L extends Location> |
class |
AbstractStreamHandle<L extends Location>
Abstract base class for
StreamHandle implementations. |
class |
BytesHandle
DataHandle for a BytesLocation. |
class |
DummyHandle
A
DataHandle which reads all zeroes, and writes no actual data. |
class |
FileHandle
DataHandle for a FileLocation. |
class |
ReadBufferDataHandle
Read-only buffered
DataHandle. |
class |
WriteBufferDataHandle
Wraps a
DataHandle and acts as a write buffer. |
| Modifier and Type | Method and Description |
|---|---|
DataHandle<L> |
DataHandleInputStream.getDataHandle() |
protected DataHandle<L> |
AbstractHigherOrderHandle.handle() |
default DataHandle<Location> |
DataHandleService.readBuffer(DataHandle<Location> handle)
Wraps the provided
DataHandle in a read-only buffer for accelerated
reading. |
default DataHandle<Location> |
DataHandleService.readBuffer(Location location)
Creates a
DataHandle on the provided Location wrapped in a
read-only buffer for accelerated reading. |
default DataHandle<Location> |
DataHandleService.writeBuffer(DataHandle<Location> handle)
Wraps the provided
DataHandle in a write-only buffer for
accelerated writing. |
| Modifier and Type | Method and Description |
|---|---|
default Class<DataHandle<Location>> |
DataHandleService.getPluginType() |
| Modifier and Type | Method and Description |
|---|---|
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out)
Copies all bytes from the input to the output handle.
|
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out)
Copies all bytes from the input to the output handle.
|
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
int length)
Copies up to
length bytes from the input to the output handle. |
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
int length)
Copies up to
length bytes from the input to the output handle. |
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
long length,
Task task)
Copies up to
length bytes from the input to the output handle,
reporting the progress to the provided task. |
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
long length,
Task task)
Copies up to
length bytes from the input to the output handle,
reporting the progress to the provided task. |
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
long length,
Task task,
int bufferSize)
Copies up to
length bytes from the input to the output handle,
reporting the progress to the provided task. |
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
long length,
Task task,
int bufferSize)
Copies up to
length bytes from the input to the output handle,
reporting the progress to the provided task. |
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
Task task)
Copies all bytes from the input to the output handle, reporting the
progress to the provided task.
|
static long |
DataHandles.copy(DataHandle<Location> in,
DataHandle<Location> out,
Task task)
Copies all bytes from the input to the output handle, reporting the
progress to the provided task.
|
default DataHandle<Location> |
DataHandleService.readBuffer(DataHandle<Location> handle)
Wraps the provided
DataHandle in a read-only buffer for accelerated
reading. |
default DataHandle<Location> |
DataHandleService.writeBuffer(DataHandle<Location> handle)
Wraps the provided
DataHandle in a write-only buffer for
accelerated writing. |
| Constructor and Description |
|---|
AbstractHigherOrderHandle(DataHandle<L> handle) |
DataHandleInputStream(DataHandle<L> handle)
Creates an input stream around the given
DataHandle. |
DataHandleOutputStream(DataHandle<L> handle)
Creates an output stream around the given
DataHandle. |
ReadBufferDataHandle(DataHandle<Location> handle)
Creates a
ReadBufferDataHandle wrapping the provided handle using the
default values for the size of the pages ( byte)
and number of pages (ReadBufferDataHandle.DEFAULT_NUM_PAGES). |
ReadBufferDataHandle(DataHandle<Location> handle,
int pageSize)
Creates a
ReadBufferDataHandle wrapping the provided handle using the
default value for the number of pages (ReadBufferDataHandle.DEFAULT_NUM_PAGES). |
ReadBufferDataHandle(DataHandle<Location> handle,
int pageSize,
int numPages)
Creates a
ReadBufferDataHandle wrapping the provided handle. |
WriteBufferDataHandle(DataHandle<Location> handle)
Creates a
WriteBufferDataHandle that wraps the given
DataHandle, the default size for the buffer is used
( bytes). |
WriteBufferDataHandle(DataHandle<Location> handle,
int bufferSize)
Creates a
WriteBufferDataHandle that wraps the given
DataHandle |
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPHandle
DataHandle for a HTTPLocation. |
Copyright © 2015–2022 SciJava. All rights reserved.