Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- asInputStream() - Method in interface org.sejda.io.SeekableSource
-
Creates an
InputStreamfrom thisSeekableSource. - asNewInputStream() - Method in interface org.sejda.io.SeekableSource
-
Creates an
InputStreamfrom thisSeekableSourceresetting the stream to the beginning. - asOffsettable(SeekableSource) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create an
OffsettableSeekableSourcefrom aSeekableSource
B
- back() - Method in interface org.sejda.io.SeekableSource
-
Skips backward moving back the source position of one byte
- back(long) - Method in interface org.sejda.io.SeekableSource
-
Skips backward the given number of bytes moving back the source position
- BaseSeekableSource - Class in org.sejda.io
-
Abstract
SeekableSourcethat provides base functionalities common to all theSeekableSources. - BaseSeekableSource(String) - Constructor for class org.sejda.io.BaseSeekableSource
- BufferedCountingChannelWriter - Class in org.sejda.io
-
Component providing methods to write to a
CountingWritableByteChannel. - BufferedCountingChannelWriter(CountingWritableByteChannel) - Constructor for class org.sejda.io.BufferedCountingChannelWriter
- BufferedSeekableSource - Class in org.sejda.io
-
SeekableSourcewrapping an existing one and providing buffered read. - BufferedSeekableSource(SeekableSource) - Constructor for class org.sejda.io.BufferedSeekableSource
- ByteArraySeekableSource - Class in org.sejda.io
-
A byte array based
SeekableSourcewith a max size of 2GB. - ByteArraySeekableSource(byte[]) - Constructor for class org.sejda.io.ByteArraySeekableSource
C
- close() - Method in class org.sejda.io.BaseSeekableSource
- close() - Method in class org.sejda.io.BufferedCountingChannelWriter
- close() - Method in class org.sejda.io.BufferedSeekableSource
- close() - Method in class org.sejda.io.ByteArraySeekableSource
- close() - Method in class org.sejda.io.CountingWritableByteChannel
- close() - Method in class org.sejda.io.DevNullWritableByteChannel
- close() - Method in class org.sejda.io.FileChannelSeekableSource
- close() - Method in class org.sejda.io.MemoryMappedSeekableSource
- close() - Method in class org.sejda.io.ThreadBoundCopiesSupplier
- count() - Method in class org.sejda.io.CountingWritableByteChannel
- CountingWritableByteChannel - Class in org.sejda.io
-
A
WritableByteChannelthat keeps track of the number of written bytes - CountingWritableByteChannel(WritableByteChannel) - Constructor for class org.sejda.io.CountingWritableByteChannel
D
- DevNullWritableByteChannel - Class in org.sejda.io
-
WritableByteChannelthat does nothing . - DevNullWritableByteChannel() - Constructor for class org.sejda.io.DevNullWritableByteChannel
- DISABLE_MEMORY_MAPPED_PROPERTY - Static variable in class org.sejda.io.SeekableSources
-
Threshold size in bytes where the SeekableSources method will switch to
MemoryMappedSeekableSource(File)
F
- FileChannelSeekableSource - Class in org.sejda.io
-
A
SeekableSourceimplementation based onFileChannel. - FileChannelSeekableSource(File) - Constructor for class org.sejda.io.FileChannelSeekableSource
- FileChannelSeekableSource(Path) - Constructor for class org.sejda.io.FileChannelSeekableSource
- flush() - Method in class org.sejda.io.BufferedCountingChannelWriter
-
Flush the buffer
- forward(long) - Method in interface org.sejda.io.SeekableSource
-
Skips the given number of bytes moving forward the source position
- from(File) - Static method in class org.sejda.io.CountingWritableByteChannel
-
Static factory method to create a
CountingWritableByteChannelfrom an existingFile. - from(OutputStream) - Static method in class org.sejda.io.CountingWritableByteChannel
-
Static factory method to create a
CountingWritableByteChannelfrom an existingOutputStream. - from(String) - Static method in class org.sejda.io.CountingWritableByteChannel
-
Static factory method to create a
CountingWritableByteChannelfrom an existing file path. - from(WritableByteChannel) - Static method in class org.sejda.io.CountingWritableByteChannel
-
Static factory method to create a
CountingWritableByteChannelfrom an existingWritableByteChannel.
G
- get() - Method in class org.sejda.io.ThreadBoundCopiesSupplier
I
- id() - Method in class org.sejda.io.BaseSeekableSource
- id() - Method in class org.sejda.io.BufferedSeekableSource
- id() - Method in interface org.sejda.io.SeekableSource
- inMemorySeekableSourceFrom(byte[]) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create a
SeekableSourcefrom a byte array. - inMemorySeekableSourceFrom(InputStream) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create a
SeekableSourcefrom aInputStream. - INPUT_BUFFER_SIZE_PROPERTY - Static variable in class org.sejda.io.SeekableSources
-
Buffer size for
BufferedSeekableSource - isOpen() - Method in class org.sejda.io.BaseSeekableSource
- isOpen() - Method in class org.sejda.io.BufferedSeekableSource
- isOpen() - Method in class org.sejda.io.CountingWritableByteChannel
- isOpen() - Method in class org.sejda.io.DevNullWritableByteChannel
M
- MAPPED_SIZE_THRESHOLD_PROPERTY - Static variable in class org.sejda.io.SeekableSources
-
Threshold size in bytes where the SeekableSources method will switch to
MemoryMappedSeekableSource(File) - MEMORY_MAPPED_PAGE_SIZE_PROPERTY - Static variable in class org.sejda.io.SeekableSources
-
Size of the pages used by
MemoryMappedSeekableSource - MemoryMappedSeekableSource - Class in org.sejda.io
-
A
SeekableSourceimplementation based on MappedByteBuffer. - MemoryMappedSeekableSource(File) - Constructor for class org.sejda.io.MemoryMappedSeekableSource
- MemoryMappedSeekableSource(Path) - Constructor for class org.sejda.io.MemoryMappedSeekableSource
O
- offset() - Method in class org.sejda.io.BufferedCountingChannelWriter
- offset(long) - Method in interface org.sejda.io.OffsettableSeekableSource
-
Sets the offset for this source
- OffsettableSeekableSource - Interface in org.sejda.io
-
A
SeekableSourcethat can be offsetted by a given number of bytes - onTempFileSeekableSourceFrom(InputStream) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create a
SeekableSourcefrom aInputStream. - onTempFileSeekableSourceFrom(InputStream, String) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create a
SeekableSourcefrom aInputStream. - org.sejda.io - module org.sejda.io
- org.sejda.io - package org.sejda.io
- OUTPUT_BUFFER_SIZE_PROPERTY - Static variable in class org.sejda.io.BufferedCountingChannelWriter
P
- peek() - Method in interface org.sejda.io.SeekableSource
-
Reads the next byte and sets the position back by one.
- peekBack() - Method in interface org.sejda.io.SeekableSource
-
Reads the previous byte and sets the position back where it was.
- position() - Method in class org.sejda.io.BufferedSeekableSource
- position() - Method in class org.sejda.io.ByteArraySeekableSource
- position() - Method in class org.sejda.io.FileChannelSeekableSource
- position() - Method in class org.sejda.io.MemoryMappedSeekableSource
- position() - Method in interface org.sejda.io.SeekableSource
- position(long) - Method in class org.sejda.io.BufferedSeekableSource
- position(long) - Method in class org.sejda.io.ByteArraySeekableSource
- position(long) - Method in class org.sejda.io.FileChannelSeekableSource
- position(long) - Method in class org.sejda.io.MemoryMappedSeekableSource
- position(long) - Method in interface org.sejda.io.SeekableSource
-
Sets the source position.
R
- read() - Method in class org.sejda.io.BufferedSeekableSource
- read() - Method in class org.sejda.io.ByteArraySeekableSource
- read() - Method in class org.sejda.io.FileChannelSeekableSource
- read() - Method in class org.sejda.io.MemoryMappedSeekableSource
- read() - Method in interface org.sejda.io.SeekableSource
-
Reads a byte of data from this source.
- read(ByteBuffer) - Method in class org.sejda.io.BufferedSeekableSource
- read(ByteBuffer) - Method in class org.sejda.io.ByteArraySeekableSource
- read(ByteBuffer) - Method in class org.sejda.io.FileChannelSeekableSource
- read(ByteBuffer) - Method in class org.sejda.io.MemoryMappedSeekableSource
- requireOpen() - Method in class org.sejda.io.BaseSeekableSource
- requireOpen() - Method in class org.sejda.io.BufferedSeekableSource
- requireOpen() - Method in interface org.sejda.io.SeekableSource
- reset() - Method in interface org.sejda.io.SeekableSource
-
Resets stream back to beginning
S
- SeekableSource - Interface in org.sejda.io
-
Readable source that provides random access capabilities.
- seekableSourceFrom(File) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create a
SeekableSourcefrom aFile. - seekableSourceFrom(Path) - Static method in class org.sejda.io.SeekableSources
-
Factory method to create a
SeekableSourcefrom aPath. - SeekableSources - Class in org.sejda.io
-
This class consists of solely static methods to create the most appropriate
SeekableSourcebased on the given input or to bridgeSeekableSources to the more traditionalInputStreamor other standard I/O classes. - SeekableSourceSupplier<T extends SeekableSource> - Interface in org.sejda.io
-
Deprecated.
- size() - Method in class org.sejda.io.BufferedSeekableSource
- size() - Method in class org.sejda.io.ByteArraySeekableSource
- size() - Method in class org.sejda.io.FileChannelSeekableSource
- size() - Method in class org.sejda.io.MemoryMappedSeekableSource
- size() - Method in interface org.sejda.io.SeekableSource
T
- ThreadBoundCopiesSupplier<T extends SeekableSource> - Class in org.sejda.io
-
Component supplying per-thread copies of a
SeekableSourceusing the provided supplier. - ThreadBoundCopiesSupplier(Supplier<T>) - Constructor for class org.sejda.io.ThreadBoundCopiesSupplier
V
- view(long, long) - Method in class org.sejda.io.BufferedSeekableSource
- view(long, long) - Method in class org.sejda.io.ByteArraySeekableSource
- view(long, long) - Method in class org.sejda.io.FileChannelSeekableSource
- view(long, long) - Method in class org.sejda.io.MemoryMappedSeekableSource
- view(long, long) - Method in interface org.sejda.io.SeekableSource
W
- wrapped() - Method in class org.sejda.io.BufferedSeekableSource
- write(byte) - Method in class org.sejda.io.BufferedCountingChannelWriter
-
Writes the single byte to the destination
- write(byte[]) - Method in class org.sejda.io.BufferedCountingChannelWriter
-
Writes the given bytes to the destination
- write(InputStream) - Method in class org.sejda.io.BufferedCountingChannelWriter
-
Writes everything that is read from the
InputStreamto the destination - write(String) - Method in class org.sejda.io.BufferedCountingChannelWriter
-
Writes the given string in
StandardCharsets.ISO_8859_1 - write(ByteBuffer) - Method in class org.sejda.io.CountingWritableByteChannel
- write(ByteBuffer) - Method in class org.sejda.io.DevNullWritableByteChannel
- writeEOL() - Method in class org.sejda.io.BufferedCountingChannelWriter
All Classes and Interfaces|All Packages|Constant Field Values
Supplier