Uses of Interface
com.itextpdf.io.source.IRandomAccessSource
Packages that use IRandomAccessSource
Package
Description
-
Uses of IRandomAccessSource in com.itextpdf.io.source
Classes in com.itextpdf.io.source that implement IRandomAccessSourceModifier 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 RandomAccessSource 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
class
A RandomAccessSource that wraps another RandomAccessSource and provides a window of it at a specific offset and over a specific length.Fields in com.itextpdf.io.source declared as IRandomAccessSourceModifier and TypeFieldDescriptionprivate IRandomAccessSource
RandomAccessFileOrArray.byteSource
The source that backs this objectprivate final IRandomAccessSource
GetBufferedRandomAccessSource.source
(package private) final IRandomAccessSource
GroupedRandomAccessSource.SourceEntry.source
The underlying sourceprivate final IRandomAccessSource
IndependentRandomAccessSource.source
The sourceprivate final IRandomAccessSource
RASInputStream.source
The source.private final IRandomAccessSource
ThreadSafeRandomAccessSource.source
private final IRandomAccessSource
WindowRandomAccessSource.source
The sourceFields in com.itextpdf.io.source with type parameters of type IRandomAccessSourceModifier and TypeFieldDescriptionprivate final PagedChannelRandomAccessSource.MRU
<IRandomAccessSource> PagedChannelRandomAccessSource.mru
Most recently used list used to hold a number of mapped pages open at a timeMethods in com.itextpdf.io.source that return IRandomAccessSourceModifier and TypeMethodDescriptionprivate static IRandomAccessSource[]
PagedChannelRandomAccessSource.buildSources
(FileChannel channel, int bufferSize) Constructs a set ofMappedChannelRandomAccessSource
s for each page (of size bufferSize) of the underlying channelRandomAccessSourceFactory.createBestSource
(String filename) Creates aIRandomAccessSource
based on a filename string.RandomAccessSourceFactory.createBestSource
(FileChannel channel) Creates aIRandomAccessSource
based on memory mapping a file channel.private IRandomAccessSource
RandomAccessSourceFactory.createByReadingToMemory
(InputStream stream) Creates a newIRandomAccessSource
by reading the specified file/resource into memoryprivate IRandomAccessSource
RandomAccessSourceFactory.createByReadingToMemory
(String filename) Creates a newIRandomAccessSource
by reading the specified file/resource into memoryRandomAccessSourceFactory.createRanged
(IRandomAccessSource source, long[] ranges) RandomAccessSourceFactory.createSource
(byte[] data) Creates aIRandomAccessSource
based on a byte arrayRandomAccessSourceFactory.createSource
(InputStream inputStream) Creates aIRandomAccessSource
based on anInputStream
.RandomAccessSourceFactory.createSource
(RandomAccessFile raf) RandomAccessSourceFactory.createSource
(URL url) Creates aIRandomAccessSource
based on a URL.RandomAccessFileOrArray.createSourceView()
Creates the view of the byte source of this object.RandomAccessSourceFactory.extractOrCreateSource
(InputStream inputStream) Creates or extracts aIRandomAccessSource
based on anInputStream
.RASInputStream.getSource()
Gets the sourceMethods in com.itextpdf.io.source with parameters of type IRandomAccessSourceModifier and TypeMethodDescriptionRandomAccessSourceFactory.createRanged
(IRandomAccessSource source, long[] ranges) protected void
GroupedRandomAccessSource.sourceInUse
(IRandomAccessSource source) Called when a given source is about to become the active source.protected void
PagedChannelRandomAccessSource.sourceInUse
(IRandomAccessSource source) Called when a given source is about to become the active source.protected void
GroupedRandomAccessSource.sourceReleased
(IRandomAccessSource source) Called when a given source is no longer the active source.protected void
PagedChannelRandomAccessSource.sourceReleased
(IRandomAccessSource source) Called when a given source is no longer the active source.Constructors in com.itextpdf.io.source with parameters of type IRandomAccessSourceModifierConstructorDescriptionConstructs a new OffsetRandomAccessSourceGroupedRandomAccessSource
(IRandomAccessSource[] sources) Constructs a newGroupedRandomAccessSource
based on the specified set of sourcesConstructs a new IndependentRandomAccessSource objectRandomAccessFileOrArray
(IRandomAccessSource byteSource) Creates a RandomAccessFileOrArray that wraps the specified byte source.RASInputStream
(IRandomAccessSource source) Creates an input stream based on the source.SourceEntry
(int index, IRandomAccessSource source, long offset) Standard constructorWindowRandomAccessSource
(IRandomAccessSource source, long offset) Constructs a new OffsetRandomAccessSource that extends to the end of the underlying sourceWindowRandomAccessSource
(IRandomAccessSource source, long offset, long length) Constructs a new OffsetRandomAccessSource with an explicit length -
Uses of IRandomAccessSource in com.itextpdf.io.util
Methods in com.itextpdf.io.util with parameters of type IRandomAccessSourceModifier and TypeMethodDescriptionstatic void
StreamUtil.copyBytes
(IRandomAccessSource source, long start, long length, OutputStream output) Copy bytes from theRandomAccessSource
toOutputStream
. -
Uses of IRandomAccessSource in com.itextpdf.kernel.pdf
Classes in com.itextpdf.kernel.pdf that implement IRandomAccessSourceMethods in com.itextpdf.kernel.pdf with parameters of type IRandomAccessSourceModifier and TypeMethodDescriptionprivate static PdfTokenizer
PdfReader.getOffsetTokeniser
(IRandomAccessSource byteSource, boolean closeStream) Utility method that checks the provided byte source to see if it has junk bytes at the beginning.Constructors in com.itextpdf.kernel.pdf with parameters of type IRandomAccessSourceModifierConstructorDescriptionPdfReader
(IRandomAccessSource byteSource, ReaderProperties properties) Constructs a new PdfReader.(package private)
PdfReader
(IRandomAccessSource byteSource, ReaderProperties properties, boolean closeStream) -
Uses of IRandomAccessSource in com.itextpdf.signatures
Fields in com.itextpdf.signatures declared as IRandomAccessSourceModifier and TypeFieldDescriptionprivate IRandomAccessSource
PdfSigner.SignatureApplier.readerSource
Methods in com.itextpdf.signatures that return IRandomAccessSourceModifier and TypeMethodDescriptionprotected IRandomAccessSource
PdfSigner.getUnderlyingSource()
Returns the underlying source.Constructors in com.itextpdf.signatures with parameters of type IRandomAccessSource