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 - available() - Method in class org.sejda.io.SeekableSourceInputStream
- available() - Method in class org.sejda.io.SeekableSourceView
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
- buffer - Variable in class org.sejda.io.BufferedCountingChannelWriter
- buffer - Variable in class org.sejda.io.BufferedSeekableSource
- 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
- bytes - Variable in class org.sejda.io.ByteArraySeekableSource
C
- channel - Variable in class org.sejda.io.BufferedCountingChannelWriter
- channel - Variable in class org.sejda.io.FileChannelSeekableSource
- 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.OffsettableSeekableSourceImpl
- close() - Method in class org.sejda.io.SeekableSourceView
- close() - Method in class org.sejda.io.ThreadBoundCopiesSupplier
- copies - Variable 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
- currentPosition - Variable in class org.sejda.io.SeekableSourceView
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)
E
- ensureBuffer() - Method in class org.sejda.io.BufferedSeekableSource
- EOL - Static variable in class org.sejda.io.BufferedCountingChannelWriter
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
- getSource() - Method in class org.sejda.io.SeekableSourceInputStream
H
- hasAvailable() - Method in class org.sejda.io.SeekableSourceView
I
- id - Variable in class org.sejda.io.BaseSeekableSource
- id() - Method in class org.sejda.io.BaseSeekableSource
- id() - Method in class org.sejda.io.BufferedSeekableSource
- id() - Method in class org.sejda.io.OffsettableSeekableSourceImpl
- 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 - IOUtils - Class in org.sejda.io.util
-
Utility class with I/O related static methods
- IOUtils() - Constructor for class org.sejda.io.util.IOUtils
- 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
- isOpen() - Method in class org.sejda.io.OffsettableSeekableSourceImpl
L
- length - Variable in class org.sejda.io.SeekableSourceView
- localCopiesSupplier - Variable in class org.sejda.io.FileChannelSeekableSource
- localCopiesSupplier - Variable in class org.sejda.io.MemoryMappedSeekableSource
- LOG - Static variable in class org.sejda.io.MemoryMappedSeekableSource
- LOG - Static variable in class org.sejda.io.util.IOUtils
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) - MB_16 - Static variable in class org.sejda.io.SeekableSources
- MB_256 - Static variable in class org.sejda.io.MemoryMappedSeekableSource
- 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
- MemoryMappedSeekableSource(MemoryMappedSeekableSource) - Constructor for class org.sejda.io.MemoryMappedSeekableSource
N
- newBufferCleaner(Class<?>, MethodHandle) - Static method in class org.sejda.io.util.IOUtils
O
- offset - Variable in class org.sejda.io.OffsettableSeekableSourceImpl
- offset() - Method in class org.sejda.io.BufferedCountingChannelWriter
- offset(long) - Method in interface org.sejda.io.OffsettableSeekableSource
-
Sets the offset for this source
- offset(long) - Method in class org.sejda.io.OffsettableSeekableSourceImpl
- OffsettableSeekableSource - Interface in org.sejda.io
-
A
SeekableSourcethat can be offsetted by a given number of bytes - OffsettableSeekableSourceImpl - Class in org.sejda.io
-
A decorator for a
SeekableSourcethat adds the concept of offset. - OffsettableSeekableSourceImpl(SeekableSource) - Constructor for class org.sejda.io.OffsettableSeekableSourceImpl
- onNewLine - Variable in class org.sejda.io.BufferedCountingChannelWriter
- 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. - open - Variable in class org.sejda.io.BaseSeekableSource
- open - Variable in class org.sejda.io.DevNullWritableByteChannel
- org.sejda.io - module org.sejda.io
- org.sejda.io - package org.sejda.io
- org.sejda.io.util - package org.sejda.io.util
- OUTPUT_BUFFER_SIZE_PROPERTY - Static variable in class org.sejda.io.BufferedCountingChannelWriter
P
- pages - Variable in class org.sejda.io.MemoryMappedSeekableSource
- pageSize - Variable in class org.sejda.io.MemoryMappedSeekableSource
- path - Variable in class org.sejda.io.FileChannelSeekableSource
- 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 - Variable in class org.sejda.io.BufferedSeekableSource
- position - Variable in class org.sejda.io.ByteArraySeekableSource
- position - Variable in class org.sejda.io.MemoryMappedSeekableSource
- 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 class org.sejda.io.OffsettableSeekableSourceImpl
- position() - Method in interface org.sejda.io.SeekableSource
- position() - Method in class org.sejda.io.SeekableSourceView
- 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 class org.sejda.io.OffsettableSeekableSourceImpl
- position(long) - Method in interface org.sejda.io.SeekableSource
-
Sets the source position.
- position(long) - Method in class org.sejda.io.SeekableSourceView
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 class org.sejda.io.OffsettableSeekableSourceImpl
- read() - Method in interface org.sejda.io.SeekableSource
-
Reads a byte of data from this source.
- read() - Method in class org.sejda.io.SeekableSourceInputStream
- read() - Method in class org.sejda.io.SeekableSourceView
- read(byte[]) - Method in class org.sejda.io.SeekableSourceInputStream
- read(byte[], int, int) - Method in class org.sejda.io.SeekableSourceInputStream
- 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
- read(ByteBuffer) - Method in class org.sejda.io.OffsettableSeekableSourceImpl
- read(ByteBuffer) - Method in class org.sejda.io.SeekableSourceView
- readPage(ByteBuffer, int, int) - 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 class org.sejda.io.OffsettableSeekableSourceImpl
- requireOpen() - Method in interface org.sejda.io.SeekableSource
- requireOpen() - Method in class org.sejda.io.SeekableSourceView
- 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. - SeekableSourceInputStream - Class in org.sejda.io
-
Bridge between
SeekableSourceandInputStream - SeekableSourceInputStream(SeekableSource) - Constructor for class org.sejda.io.SeekableSourceInputStream
- 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. - SeekableSources() - Constructor for class org.sejda.io.SeekableSources
- SeekableSourceSupplier<T extends SeekableSource> - Interface in org.sejda.io
-
Deprecated.
- SeekableSourceView - Class in org.sejda.io
-
SeekableSourcerepresenting a view over a portion of a parentSeekableSource. - SeekableSourceView(Supplier<? extends SeekableSource>, String, long, long) - Constructor for class org.sejda.io.SeekableSourceView
- size - Variable in class org.sejda.io.BufferedSeekableSource
- size - Variable in class org.sejda.io.FileChannelSeekableSource
- size - Variable in class org.sejda.io.MemoryMappedSeekableSource
- 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 class org.sejda.io.OffsettableSeekableSourceImpl
- size() - Method in interface org.sejda.io.SeekableSource
- size() - Method in class org.sejda.io.SeekableSourceView
- skip(long) - Method in class org.sejda.io.SeekableSourceInputStream
- startingPosition - Variable in class org.sejda.io.SeekableSourceView
- supplier - Variable in class org.sejda.io.SeekableSourceView
- supplier - Variable in class org.sejda.io.ThreadBoundCopiesSupplier
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
U
- unmap(ByteBuffer) - Static method in class org.sejda.io.util.IOUtils
-
Unmap memory mapped byte buffers.
- unmapper - Variable in class org.sejda.io.MemoryMappedSeekableSource
- unmapper() - Static method in class org.sejda.io.util.IOUtils
-
This is adapted from org.apache.lucene.store.MMapDirectory
- UNMAPPER - Static variable in class org.sejda.io.util.IOUtils
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 class org.sejda.io.OffsettableSeekableSourceImpl
- view(long, long) - Method in interface org.sejda.io.SeekableSource
- view(long, long) - Method in class org.sejda.io.SeekableSourceView
-
Cannot create a view of a view.
W
- wrapped - Variable in class org.sejda.io.BufferedSeekableSource
- wrapped - Variable in class org.sejda.io.CountingWritableByteChannel
- wrapped - Variable in class org.sejda.io.OffsettableSeekableSourceImpl
- wrapped - Variable in class org.sejda.io.SeekableSourceInputStream
- 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
- written - Variable in class org.sejda.io.CountingWritableByteChannel
All Classes and Interfaces|All Packages|Constant Field Values
Supplier