Uses of Interface
org.apache.pdfbox.io.RandomAccess
-
Packages that use RandomAccess Package Description org.apache.pdfbox.cos These are the low level objects that make up a PDF document.org.apache.pdfbox.io This package contains IO streams.org.apache.pdfbox.pdfparser The pdfparser package contains classes to parse PDF documents and objects within the document.org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.common High level PD classes that are used throughout several packages are placed in the PDModel common package.org.apache.pdfbox.pdmodel.graphics.xobject This package deals with images that are stored in a PDF document.org.apache.pdfbox.util 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 RandomAccess Modifier and Type Method Description RandomAccess
COSDocument. getScratchFile()
Deprecated.direct access to the scratch file will be removedRandomAccess
COSStream. getScratchFile()
Deprecated.the direct access to the scratch file will be removed.Constructors in org.apache.pdfbox.cos with parameters of type RandomAccess Constructor Description COSDocument(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 RandomAccess Modifier and Type Class Description class
RandomAccessBuffer
An implementation of the RandomAccess interface to store a pdf in memory.class
RandomAccessFile
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 RandomAccess Constructor Description RandomAccessFileInputStream(RandomAccess raFile, long startPosition, long length)
Constructor.RandomAccessFileOutputStream(RandomAccess raf)
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 RandomAccess Modifier and Type Field Description protected RandomAccess
ConformingPDFParser. inputFile
Methods in org.apache.pdfbox.pdfparser with parameters of type RandomAccess Modifier and Type Method Description protected 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 RandomAccess Constructor Description NonSequentialPDFParser(java.io.File file, RandomAccess raBuf)
Constructs parser for given file using given buffer for temporary storage.NonSequentialPDFParser(java.io.File file, RandomAccess raBuf, java.lang.String decryptionPassword)
Constructs parser for given file using given buffer for temporary storage.NonSequentialPDFParser(java.io.InputStream input, RandomAccess raBuf, java.lang.String decryptionPassword)
Constructor.PDFParser(java.io.InputStream input, RandomAccess rafi)
Constructor to allow control over RandomAccessFile.PDFParser(java.io.InputStream input, RandomAccess rafi, boolean force)
Constructor to allow control over RandomAccessFile.PDFStreamParser(java.io.InputStream stream, RandomAccess raf)
Constructor that takes a stream to parse.PDFStreamParser(java.io.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 RandomAccess Modifier and Type Method Description static PDDocument
PDDocument. load(java.io.File file, RandomAccess scratchFile)
This will load a document from a file.static PDDocument
PDDocument. load(java.io.InputStream input, RandomAccess scratchFile)
This will load a document from an input stream.static PDDocument
PDDocument. load(java.io.InputStream input, RandomAccess scratchFile, boolean force)
This will load a document from an input stream.static PDDocument
PDDocument. load(java.lang.String filename, RandomAccess scratchFile)
This will load a document from a file.static PDDocument
PDDocument. load(java.net.URL url, RandomAccess scratchFile)
This will load a document from a url.static PDDocument
PDDocument. loadNonSeq(java.io.File file, RandomAccess scratchFile)
Parses PDF with non sequential parser.static PDDocument
PDDocument. loadNonSeq(java.io.File file, RandomAccess scratchFile, java.lang.String password)
Parses PDF with non sequential parser.static PDDocument
PDDocument. loadNonSeq(java.io.InputStream input, RandomAccess scratchFile)
Parses PDF with non sequential parser.static PDDocument
PDDocument. loadNonSeq(java.io.InputStream input, RandomAccess scratchFile, java.lang.String password)
Parses PDF with non sequential parser. -
Uses of RandomAccess in org.apache.pdfbox.pdmodel.common
Methods in org.apache.pdfbox.pdmodel.common that return RandomAccess Modifier and Type Method Description RandomAccess
COSStreamArray. 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 RandomAccess Constructor Description PDCcitt(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 RandomAccess Modifier and Type Method Description void
PDFMergerUtility. mergeDocumentsNonSeq(RandomAccess scratchFile)
Merge the list of source documents with the non sequential parser, saving the result in the destination file.
-