Top Description Interfaces Classes
module org.apache.pdfbox.io

Package org.apache.pdfbox.io


This package contains IO streams.

Interface Summary

Modifier and TypeInterface and Description
public interface
RandomAccess

An interface to allow data to be stored completely in memory or to use a scratch file on the disk.

public interface
RandomAccessRead

An interface allowing random access read operations.

public interface
RandomAccessStreamCache

An interface describing a StreamCache to be used when creating/writing streams of a PDF.

public interface
RandomAccessWrite

An interface allowing random access write operations.

Class Summary

Modifier and TypeClass and Description
public class
IOUtils

This class contains various I/O-related methods.

public class
MemoryUsageSetting

Controls how memory/temporary files are used for buffering streams etc.

public class
NonSeekableRandomAccessReadInputStream

An implementation of the RandomAccessRead interface using an InputStream as source.

public class
RandomAccessInputStream

An InputStream which reads from a RandomAccessRead.

public class
RandomAccessOutputStream

An OutputStream which writes to a RandomAccessWrite.

public class
RandomAccessReadBuffer

An implementation of the RandomAccessRead interface to store data in memory.

public class
RandomAccessReadBufferedFile

Provides random access to portions of a file combined with buffered reading of content.

public class
RandomAccessReadMemoryMappedFile

An implementation of the RandomAccess interface backed by a memory mapped file channel.

public class
RandomAccessReadView

This class provides a view of a part of a random access read.

public class
RandomAccessReadWriteBuffer

An implementation of the RandomAccess interface to store data in memory.

public class
RandomAccessStreamCacheImpl

A default implementation of the interface RandomAccessStreamCache using a memory backed RandomAccessReadWriteBuffer.

public class
ScratchFile

Implements a memory page handling mechanism as base for creating (multiple) RandomAccess buffers each having its set of pages (implemented by ScratchFileBuffer).

pack-priv class
ScratchFileBuffer

Implementation of RandomAccess as sequence of multiple fixed size pages handled by ScratchFile.

public class
SequenceRandomAccessRead

Wrapper class to combine several RandomAccessRead instances so that they can be accessed as one big RandomAccessRead.