Uses of Interface
com.itextpdf.text.io.RandomAccessSource
Packages that use RandomAccessSource
-
Uses of RandomAccessSource in com.itextpdf.text.io
Classes in com.itextpdf.text.io that implement RandomAccessSourceModifier and TypeClassDescription(package private) class
A RandomAccessSource that is based on an underlying byte array(package private) class
A RandomAccessSource that is based on an underlyingByteBuffer
.class
A RandomAccessSource that is based on an underlyingFileChannel
.class
(package private) class
A RandomAccessSource that is based on a set of underlying sources, treating the sources as if they were a contiguous block of data.class
A RandomAccessSource that is wraps another RandomAccessSouce but does not propagate close().(package private) class
A RandomAccessSource that represents a memory mapped section of an underlying FileChannel.(package private) class
A RandomAccessSource that is based on an underlyingFileChannel
.(package private) class
A RandomAccessSource that uses aRandomAccessFile
as it's source Note: Unlike most of the RandomAccessSource implementations, this class is not thread safeclass
A RandomAccessSource that wraps another RandomAccessSouce and provides a window of it at a specific offset and over a specific length.Fields in com.itextpdf.text.io declared as RandomAccessSourceModifier and TypeFieldDescriptionprivate final RandomAccessSource
GetBufferedRandomAccessSource.source
The source(package private) final RandomAccessSource
GroupedRandomAccessSource.SourceEntry.source
The underlying sourceprivate final RandomAccessSource
IndependentRandomAccessSource.source
The sourceprivate final RandomAccessSource
RASInputStream.source
The sourceprivate final RandomAccessSource
WindowRandomAccessSource.source
The sourceFields in com.itextpdf.text.io with type parameters of type RandomAccessSourceModifier and TypeFieldDescriptionprivate final PagedChannelRandomAccessSource.MRU
<RandomAccessSource> PagedChannelRandomAccessSource.mru
Most recently used list used to hold a number of mapped pages open at a timeMethods in com.itextpdf.text.io that return RandomAccessSourceModifier and TypeMethodDescriptionprivate static RandomAccessSource[]
PagedChannelRandomAccessSource.buildSources
(FileChannel channel, int bufferSize) Constructs a set ofMappedChannelRandomAccessSource
s for each page (of size bufferSize) of the underlying channelRandomAccessSourceFactory.createBestSource
(RandomAccessFile raf) Creates aRandomAccessSource
based on a RandomAccessFile.RandomAccessSourceFactory.createBestSource
(String filename) Creates aRandomAccessSource
based on a filename string.RandomAccessSourceFactory.createBestSource
(FileChannel channel) Creates aRandomAccessSource
based on memory mapping a file channel.private RandomAccessSource
RandomAccessSourceFactory.createByReadingToMemory
(InputStream is) Creates a newRandomAccessSource
by reading the specified file/resource into memoryprivate RandomAccessSource
RandomAccessSourceFactory.createByReadingToMemory
(String filename) Creates a newRandomAccessSource
by reading the specified file/resource into memoryRandomAccessSourceFactory.createRanged
(RandomAccessSource source, long[] ranges) RandomAccessSourceFactory.createSource
(byte[] data) Creates aRandomAccessSource
based on a byte arrayRandomAccessSourceFactory.createSource
(InputStream is) Creates aRandomAccessSource
based on anInputStream
.RandomAccessSourceFactory.createSource
(RandomAccessFile raf) RandomAccessSourceFactory.createSource
(URL url) Creates aRandomAccessSource
based on a URL.Methods in com.itextpdf.text.io with parameters of type RandomAccessSourceModifier and TypeMethodDescriptionstatic void
StreamUtil.CopyBytes
(RandomAccessSource source, long start, long length, OutputStream outs) RandomAccessSourceFactory.createRanged
(RandomAccessSource source, long[] ranges) protected void
GroupedRandomAccessSource.sourceInUse
(RandomAccessSource source) Called when a given source is about to become the active source.protected void
PagedChannelRandomAccessSource.sourceInUse
(RandomAccessSource source) protected void
GroupedRandomAccessSource.sourceReleased
(RandomAccessSource source) Called when a given source is no longer the active source.protected void
PagedChannelRandomAccessSource.sourceReleased
(RandomAccessSource source) Constructors in com.itextpdf.text.io with parameters of type RandomAccessSourceModifierConstructorDescriptionConstructs a new OffsetRandomAccessSourceGroupedRandomAccessSource
(RandomAccessSource[] sources) Constructs a newGroupedRandomAccessSource
based on the specified set of sourcesConstructs a new OffsetRandomAccessSourceRASInputStream
(RandomAccessSource source) Creates an input stream based on the sourceSourceEntry
(int index, RandomAccessSource source, long offset) Standard constructorWindowRandomAccessSource
(RandomAccessSource source, long offset) Constructs a new OffsetRandomAccessSource that extends to the end of the underlying sourceWindowRandomAccessSource
(RandomAccessSource source, long offset, long length) Constructs a new OffsetRandomAccessSource with an explicit length -
Uses of RandomAccessSource in com.itextpdf.text.pdf
Fields in com.itextpdf.text.pdf declared as RandomAccessSourceModifier and TypeFieldDescriptionprivate final RandomAccessSource
RandomAccessFileOrArray.byteSource
The source that backs this objectMethods in com.itextpdf.text.pdf that return RandomAccessSourceModifier and TypeMethodDescriptionRandomAccessFileOrArray.createSourceView()
protected RandomAccessSource
RandomAccessFileOrArray.getByteSource()
Deprecated.private RandomAccessSource
PdfSignatureAppearance.getUnderlyingSource()
Methods in com.itextpdf.text.pdf with parameters of type RandomAccessSourceModifier and TypeMethodDescriptionprivate static PRTokeniser
PdfReader.getOffsetTokeniser
(RandomAccessSource byteSource) Utility method that checks the provided byte source to see if it has junk bytes at the beginning.Constructors in com.itextpdf.text.pdf with parameters of type RandomAccessSourceModifierConstructorDescriptionprivate
PdfReader
(RandomAccessSource byteSource, boolean partialRead, byte[] ownerPassword, Certificate certificate, Key certificateKey, String certificateKeyProvider, ExternalDecryptionProcess externalDecryptionProcess, boolean closeSourceOnConstructorError) Constructs a new PdfReader.private
PdfReader
(RandomAccessSource byteSource, ReaderProperties properties) Constructs a new PdfReader.RandomAccessFileOrArray
(RandomAccessSource byteSource) Creates a RandomAccessFileOrArray that wraps the specified byte source.