- checkClosed() - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Ensure that the RandomAccessBuffer is not closed
- chunkSize - Variable in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
- clear() - Method in class org.apache.pdfbox.io.RandomAccessReadWriteBuffer
-
Clears all data of the buffer.
- clear() - Method in interface org.apache.pdfbox.io.RandomAccessWrite
-
Clears all data of the buffer.
- close() - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
- close() - Method in class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
- close() - Method in class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
- close() - Method in class org.apache.pdfbox.io.RandomAccessReadView
- close() - Method in class org.apache.pdfbox.io.RandomAccessStreamCacheImpl
- close() - Method in class org.apache.pdfbox.io.ScratchFile
-
Closes and deletes the temporary file.
- close() - Method in class org.apache.pdfbox.io.SequenceRandomAccessRead
-
- closeAndLogException(Closeable, Log, String, IOException) - Static method in class org.apache.pdfbox.io.IOUtils
-
Try to close an IO resource and log and return if there was an exception.
- closeQuietly(Closeable) - Static method in class org.apache.pdfbox.io.IOUtils
-
Null safe close of the given
Closeable
suppressing any exception.
- copy(InputStream, OutputStream) - Static method in class org.apache.pdfbox.io.IOUtils
-
Copies all the contents from the given input stream to the given output stream.
- create() - Method in interface org.apache.pdfbox.io.RandomAccessStreamCache.StreamCacheCreateFunction
-
Creates an instance of a RandomAccessStreamCache.
- createBuffer() - Method in interface org.apache.pdfbox.io.RandomAccessStreamCache
-
Creates an instance of a buffer implementing the interface org.apache.pdfbox.io.RandomAccess.
- createBuffer() - Method in class org.apache.pdfbox.io.RandomAccessStreamCacheImpl
-
Creates an instance of a buffer implementing the interface org.apache.pdfbox.io.RandomAccess.
- createBuffer() - Method in class org.apache.pdfbox.io.ScratchFile
-
Creates a new buffer using this page handler.
- createBufferFromStream(InputStream) - Static method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Create e new RandomAccessReadBuffer using the given InputStream.
- createMemoryOnlyStreamCache() - Static method in class org.apache.pdfbox.io.IOUtils
-
Provides a function to create an instance of a memory only StreamCache using unrestricted main memory.
- createTempFileOnlyStreamCache() - Static method in class org.apache.pdfbox.io.IOUtils
-
Provides a function to create an instance of a temp file only StreamCache using unrestricted size.
- createView(long, long) - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Creates a random access read view starting at the given position with the given length.
- createView(long, long) - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
- createView(long, long) - Method in class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
- createView(long, long) - Method in class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
-
- createView(long, long) - Method in class org.apache.pdfbox.io.RandomAccessReadView
-
- createView(long, long) - Method in class org.apache.pdfbox.io.SequenceRandomAccessRead
-
- currentBuffer - Variable in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
- currentBufferPointer - Variable in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
- RandomAccess - Interface in org.apache.pdfbox.io
-
An interface to allow data to be stored completely in memory or
to use a scratch file on the disk.
- RandomAccessInputStream - Class in org.apache.pdfbox.io
-
An InputStream which reads from a RandomAccessRead.
- RandomAccessInputStream(RandomAccessRead) - Constructor for class org.apache.pdfbox.io.RandomAccessInputStream
-
Creates a new RandomAccessInputStream, with a position of zero.
- RandomAccessOutputStream - Class in org.apache.pdfbox.io
-
An OutputStream which writes to a RandomAccessWrite.
- RandomAccessOutputStream(RandomAccessWrite) - Constructor for class org.apache.pdfbox.io.RandomAccessOutputStream
-
Constructor to create a new output stream which writes to the given RandomAccessWrite.
- RandomAccessRead - Interface in org.apache.pdfbox.io
-
An interface allowing random access read operations.
- RandomAccessReadBuffer - Class in org.apache.pdfbox.io
-
An implementation of the RandomAccessRead interface to store data in memory.
- RandomAccessReadBuffer() - Constructor for class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Default constructor.
- RandomAccessReadBuffer(int) - Constructor for class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Default constructor.
- RandomAccessReadBuffer(byte[]) - Constructor for class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Create a random access buffer using the given byte array.
- RandomAccessReadBuffer(ByteBuffer) - Constructor for class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Create a random access buffer using the given ByteBuffer.
- RandomAccessReadBuffer(InputStream) - Constructor for class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Create a random access read buffer of the given input stream by copying the data to the memory.
- RandomAccessReadBufferedFile - Class in org.apache.pdfbox.io
-
Provides random access to portions of a file combined with buffered reading of content.
- RandomAccessReadBufferedFile(String) - Constructor for class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
Create a random access buffered file instance for the file with the given name.
- RandomAccessReadBufferedFile(File) - Constructor for class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
Create a random access buffered file instance for the given file.
- RandomAccessReadMemoryMappedFile - Class in org.apache.pdfbox.io
-
An implementation of the RandomAccess interface backed by a memory mapped file channel.
- RandomAccessReadMemoryMappedFile(String) - Constructor for class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
-
Default constructor.
- RandomAccessReadMemoryMappedFile(File) - Constructor for class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
-
Default constructor.
- RandomAccessReadView - Class in org.apache.pdfbox.io
-
This class provides a view of a part of a random access read.
- RandomAccessReadView(RandomAccessRead, long, long) - Constructor for class org.apache.pdfbox.io.RandomAccessReadView
-
Constructor.
- RandomAccessReadView(RandomAccessRead, long, long, boolean) - Constructor for class org.apache.pdfbox.io.RandomAccessReadView
-
Constructor.
- RandomAccessReadWriteBuffer - Class in org.apache.pdfbox.io
-
An implementation of the RandomAccess interface to store data in memory.
- RandomAccessReadWriteBuffer() - Constructor for class org.apache.pdfbox.io.RandomAccessReadWriteBuffer
-
Default constructor.
- RandomAccessReadWriteBuffer(int) - Constructor for class org.apache.pdfbox.io.RandomAccessReadWriteBuffer
-
Default constructor.
- RandomAccessStreamCache - Interface in org.apache.pdfbox.io
-
An interface describing a StreamCache to be used when creating/writing streams of a PDF.
- RandomAccessStreamCache.StreamCacheCreateFunction - Interface in org.apache.pdfbox.io
-
- RandomAccessStreamCacheImpl - Class in org.apache.pdfbox.io
-
A default implementation of the interface RandomAccessStreamCache using a memory backed RandomAccessReadWriteBuffer.
- RandomAccessStreamCacheImpl() - Constructor for class org.apache.pdfbox.io.RandomAccessStreamCacheImpl
-
- RandomAccessWrite - Interface in org.apache.pdfbox.io
-
An interface allowing random access write operations.
- read() - Method in class org.apache.pdfbox.io.RandomAccessInputStream
-
- read(byte[], int, int) - Method in class org.apache.pdfbox.io.RandomAccessInputStream
-
- read() - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Read a single byte of data.
- read(byte[]) - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Read a buffer of data.
- read(byte[], int, int) - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Read a buffer of data.
- read() - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Read a single byte of data.
- read(byte[], int, int) - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Read a buffer of data.
- read() - Method in class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
- read(byte[], int, int) - Method in class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
- read() - Method in class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
-
Read a single byte of data.
- read(byte[], int, int) - Method in class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
-
Read a buffer of data.
- read() - Method in class org.apache.pdfbox.io.RandomAccessReadView
-
Read a single byte of data.
- read(byte[], int, int) - Method in class org.apache.pdfbox.io.RandomAccessReadView
-
Read a buffer of data.
- read() - Method in class org.apache.pdfbox.io.SequenceRandomAccessRead
-
- read(byte[], int, int) - Method in class org.apache.pdfbox.io.SequenceRandomAccessRead
-
- resetBuffers() - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Reset to position 0 and remove all buffers but the first one.
- rewind(int) - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Seek backwards the given number of bytes.
- rewind(int) - Method in class org.apache.pdfbox.io.RandomAccessReadView
-
Seek backwards the given number of bytes.
- ScratchFile - Class in org.apache.pdfbox.io
-
Implements a memory page handling mechanism as base for creating (multiple)
RandomAccess
buffers each having its set of pages (implemented by
ScratchFileBuffer
).
- ScratchFile(File) - Constructor for class org.apache.pdfbox.io.ScratchFile
-
Initializes page handler.
- ScratchFile(MemoryUsageSetting) - Constructor for class org.apache.pdfbox.io.ScratchFile
-
Initializes page handler.
- seek(long) - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Seek to a position in the data.
- seek(long) - Method in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
Seek to a position in the data.
- seek(long) - Method in class org.apache.pdfbox.io.RandomAccessReadBufferedFile
-
Seeks to new position.
- seek(long) - Method in class org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
-
Seek to a position in the data.
- seek(long) - Method in class org.apache.pdfbox.io.RandomAccessReadView
-
Seek to a position in the data.
- seek(long) - Method in class org.apache.pdfbox.io.SequenceRandomAccessRead
-
- SequenceRandomAccessRead - Class in org.apache.pdfbox.io
-
Wrapper class to combine several RandomAccessRead instances so that they can be accessed as one big RandomAccessRead.
- SequenceRandomAccessRead(List<RandomAccessRead>) - Constructor for class org.apache.pdfbox.io.SequenceRandomAccessRead
-
- setTempDir(File) - Method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Sets directory to be used for temporary files.
- setupMainMemoryOnly() - Static method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Setups buffering memory usage to only use main-memory (no temporary file) which is not restricted in size.
- setupMainMemoryOnly(long) - Static method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Setups buffering memory usage to only use main-memory with the defined maximum.
- setupMixed(long) - Static method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Setups buffering memory usage to use a portion of main-memory and additionally temporary file(s) in case the
specified portion is exceeded.
- setupMixed(long, long) - Static method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Setups buffering memory usage to use a portion of main-memory and additionally temporary file(s) in case the
specified portion is exceeded.
- setupTempFileOnly() - Static method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Setups buffering memory usage to only use temporary file(s) (no main-memory) with not restricted size.
- setupTempFileOnly(long) - Static method in class org.apache.pdfbox.io.MemoryUsageSetting
-
Setups buffering memory usage to only use temporary file(s) (no main-memory) with the specified maximum size.
- size - Variable in class org.apache.pdfbox.io.RandomAccessReadBuffer
-
- skip(long) - Method in class org.apache.pdfbox.io.RandomAccessInputStream
-
- skip(int) - Method in interface org.apache.pdfbox.io.RandomAccessRead
-
Skips a given number of bytes.
- streamCache - Variable in class org.apache.pdfbox.io.MemoryUsageSetting
-
Implementation of the function to create an instance of ScratchFile using the current settings.