| Package | Description |
|---|---|
| org.sejda.io |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SeekableSourceSupplier<T extends SeekableSource> |
class |
ThreadBoundCopiesSupplier<T extends SeekableSource>
Component suppling per-thread copies of a
SeekableSource using the provided supplier. |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseSeekableSource
Abstract
SeekableSource that provides base functionalities common to all the SeekableSources. |
class |
BufferedSeekableSource
SeekableSource wrapping an existing one and providing buffered read. |
class |
ByteArraySeekableSource
A byte array based
SeekableSource with a max size of 2GB. |
class |
FileChannelSeekableSource
A
SeekableSource implementation based on FileChannel. |
class |
MemoryMappedSeekableSource
A
SeekableSource implementation based on MappedByteBuffer. |
| Modifier and Type | Method and Description |
|---|---|
default SeekableSource |
SeekableSource.back()
Skips backward moving back the source position of one byte
|
default SeekableSource |
SeekableSource.back(long offset)
Skips backward the given number of bytes moving back the source position
|
default SeekableSource |
SeekableSource.forward(long offset)
Skips the given number of bytes moving forward the source position
|
static SeekableSource |
SeekableSources.inMemorySeekableSourceFrom(byte[] bytes)
Factory method to create a
SeekableSource from a byte array. |
static SeekableSource |
SeekableSources.inMemorySeekableSourceFrom(InputStream stream)
Factory method to create a
SeekableSource from a InputStream. |
static SeekableSource |
SeekableSources.onTempFileSeekableSourceFrom(InputStream stream)
Factory method to create a
SeekableSource from a InputStream. |
SeekableSource |
MemoryMappedSeekableSource.position(long position) |
SeekableSource |
FileChannelSeekableSource.position(long newPosition) |
SeekableSource |
ByteArraySeekableSource.position(long position) |
SeekableSource |
BufferedSeekableSource.position(long newPosition) |
SeekableSource |
SeekableSource.position(long position)
Sets the source position.
|
static SeekableSource |
SeekableSources.seekableSourceFrom(File file)
Factory method to create a
SeekableSource from a File. |
SeekableSource |
MemoryMappedSeekableSource.view(long startingPosition,
long length) |
SeekableSource |
FileChannelSeekableSource.view(long startingPosition,
long length) |
SeekableSource |
ByteArraySeekableSource.view(long startingPosition,
long length) |
SeekableSource |
BufferedSeekableSource.view(long startingPosition,
long length) |
SeekableSource |
SeekableSource.view(long startingPosition,
long length) |
protected SeekableSource |
BufferedSeekableSource.wrapped() |
| Constructor and Description |
|---|
BufferedSeekableSource(SeekableSource wrapped) |
Copyright © 2018 sejda. All rights reserved.