## Uses of Class
org.apache.pdfbox.io.ScratchFile

Packages that use ScratchFile
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.

### Uses of ScratchFile in org.apache.pdfbox.cos

Constructors in org.apache.pdfbox.cos with parameters of type ScratchFile
Constructor and Description
`COSDocument(ScratchFile scratchFile)` Constructor that will use the provide memory handler for storage of the PDF streams.
`COSStream(ScratchFile scratchFile)` Creates a new stream with an empty dictionary.

### Uses of ScratchFile in org.apache.pdfbox.io

Methods in org.apache.pdfbox.io that return ScratchFile
`static ScratchFile` ScratchFile.`getMainMemoryOnlyInstance()` Getter for an instance using only unrestricted main memory for buffering (same as `new ScratchFile(MemoryUsageSetting.setupMainMemoryOnly())`).

### Uses of ScratchFile in org.apache.pdfbox.pdfparser

Constructors in org.apache.pdfbox.pdfparser with parameters of type ScratchFile
Constructor and Description
`PDFParser(RandomAccessRead source, ScratchFile scratchFile)` Constructor.
`PDFParser(RandomAccessRead source, String decryptionPassword, InputStream keyStore, String alias, ScratchFile scratchFile)` Constructor.
`PDFParser(RandomAccessRead source, String decryptionPassword, ScratchFile scratchFile)` Constructor.