Uses of Interface
org.apache.pdfbox.io.RandomAccess
Packages that use RandomAccess
Package
Description
These are the low level objects that make up a PDF document.
This package contains IO streams.
The pdfparser package contains classes to parse PDF documents and objects within the document.
The PDModel package represents a high level API for creating and manipulating PDF documents.
High level PD classes that are used throughout several packages are placed in the PDModel common package.
This package deals with images that are stored in a PDF document.
This package contains utility classes that are used by the PDFBox project.
-
Uses of RandomAccess in org.apache.pdfbox.cos
Methods in org.apache.pdfbox.cos that return RandomAccessModifier and TypeMethodDescriptionCOSDocument.getScratchFile()
Deprecated.direct access to the scratch file will be removedCOSStream.getScratchFile()
Deprecated.the direct access to the scratch file will be removed.Constructors in org.apache.pdfbox.cos with parameters of type RandomAccessModifierConstructorDescriptionCOSDocument
(RandomAccess file) Constructor that will use the following random access file for storage of the PDF streams.COSDocument
(RandomAccess scratchFileValue, boolean forceParsingValue) Constructor that will use the given random access file for storage of the PDF streams.COSStream
(COSDictionary dictionary, RandomAccess storage) Constructor.COSStream
(RandomAccess storage) Constructor. -
Uses of RandomAccess in org.apache.pdfbox.io
Classes in org.apache.pdfbox.io that implement RandomAccessModifier and TypeClassDescriptionclass
An implementation of the RandomAccess interface to store a pdf in memory.class
An interface to allow temp PDF data to be stored in a scratch file on the disk to reduce memory consumption.Constructors in org.apache.pdfbox.io with parameters of type RandomAccessModifierConstructorDescriptionRandomAccessFileInputStream
(RandomAccess raFile, long startPosition, long length) Constructor.Constructor to create an output stream that will write to the end of a random access file. -
Uses of RandomAccess in org.apache.pdfbox.pdfparser
Fields in org.apache.pdfbox.pdfparser declared as RandomAccessMethods in org.apache.pdfbox.pdfparser with parameters of type RandomAccessModifier and TypeMethodDescriptionprotected COSStream
BaseParser.parseCOSStream
(COSDictionary dic, RandomAccess file) This will read a COSStream from the input stream.protected COSStream
NonSequentialPDFParser.parseCOSStream
(COSDictionary dic, RandomAccess file) This will read a COSStream from the input stream using length attribute within dictionary.Constructors in org.apache.pdfbox.pdfparser with parameters of type RandomAccessModifierConstructorDescriptionNonSequentialPDFParser
(File file, RandomAccess raBuf) Constructs parser for given file using given buffer for temporary storage.NonSequentialPDFParser
(File file, RandomAccess raBuf, String decryptionPassword) Constructs parser for given file using given buffer for temporary storage.NonSequentialPDFParser
(InputStream input, RandomAccess raBuf, String decryptionPassword) Constructor.PDFParser
(InputStream input, RandomAccess rafi) Constructor to allow control over RandomAccessFile.PDFParser
(InputStream input, RandomAccess rafi, boolean force) Constructor to allow control over RandomAccessFile.PDFStreamParser
(InputStream stream, RandomAccess raf) Constructor that takes a stream to parse.PDFStreamParser
(InputStream stream, RandomAccess raf, boolean forceParsing) Constructor that takes a stream to parse. -
Uses of RandomAccess in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel with parameters of type RandomAccessModifier and TypeMethodDescriptionstatic PDDocument
PDDocument.load
(File file, RandomAccess scratchFile) This will load a document from a file.static PDDocument
PDDocument.load
(InputStream input, RandomAccess scratchFile) This will load a document from an input stream.static PDDocument
PDDocument.load
(InputStream input, RandomAccess scratchFile, boolean force) This will load a document from an input stream.static PDDocument
PDDocument.load
(String filename, RandomAccess scratchFile) This will load a document from a file.static PDDocument
PDDocument.load
(URL url, RandomAccess scratchFile) This will load a document from a url.static PDDocument
PDDocument.loadNonSeq
(File file, RandomAccess scratchFile) Parses PDF with the new non sequential parser and an empty password.static PDDocument
PDDocument.loadNonSeq
(File file, RandomAccess scratchFile, String password) Parses PDF with the new non sequential parser and an empty password.static PDDocument
PDDocument.loadNonSeq
(InputStream input, RandomAccess scratchFile) Parses PDF with the new non sequential parser.static PDDocument
PDDocument.loadNonSeq
(InputStream input, RandomAccess scratchFile, String password) Parses PDF with the new non sequential parser. -
Uses of RandomAccess in org.apache.pdfbox.pdmodel.common
Methods in org.apache.pdfbox.pdmodel.common that return RandomAccessModifier and TypeMethodDescriptionCOSStreamArray.getScratchFile()
This will get the scratch file associated with this stream. -
Uses of RandomAccess in org.apache.pdfbox.pdmodel.graphics.xobject
Constructors in org.apache.pdfbox.pdmodel.graphics.xobject with parameters of type RandomAccessModifierConstructorDescriptionPDCcitt
(PDDocument doc, RandomAccess raf) Construct from a tiff file.PDCcitt
(PDDocument doc, RandomAccess raf, int number) Construct from a tiff file. -
Uses of RandomAccess in org.apache.pdfbox.util
Methods in org.apache.pdfbox.util with parameters of type RandomAccessModifier and TypeMethodDescriptionvoid
PDFMergerUtility.mergeDocumentsNonSeq
(RandomAccess scratchFile) Merge the list of source documents with the non sequential parser, saving the result in the destination file.