Uses of Interface
com.itextpdf.io.source.IRandomAccessSource
-
Packages that use IRandomAccessSource Package Description com.itextpdf.io.source com.itextpdf.io.util com.itextpdf.kernel.pdf com.itextpdf.signatures -
-
Uses of IRandomAccessSource in com.itextpdf.io.source
Classes in com.itextpdf.io.source that implement IRandomAccessSource Modifier and Type Class Description (package private) class
ArrayRandomAccessSource
A RandomAccessSource that is based on an underlying byte array(package private) class
ByteBufferRandomAccessSource
A RandomAccessSource that is based on an underlyingByteBuffer
.class
FileChannelRandomAccessSource
A RandomAccessSource that is based on an underlyingFileChannel
.class
GetBufferedRandomAccessSource
(package private) class
GroupedRandomAccessSource
A RandomAccessSource that is based on a set of underlying sources, treating the sources as if they were a contiguous block of data.class
IndependentRandomAccessSource
A RandomAccessSource that is wraps another RandomAccessSource but does not propagate close().(package private) class
MappedChannelRandomAccessSource
A RandomAccessSource that represents a memory mapped section of an underlying FileChannel.(package private) class
PagedChannelRandomAccessSource
A RandomAccessSource that is based on an underlyingFileChannel
.(package private) class
RAFRandomAccessSource
A RandomAccessSource that uses aRandomAccessFile
as it's source Note: Unlike most of the RandomAccessSource implementations, this class is not thread safeclass
ThreadSafeRandomAccessSource
class
WindowRandomAccessSource
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 IRandomAccessSource Modifier and Type Field Description private IRandomAccessSource
RandomAccessFileOrArray. byteSource
The source that backs this objectprivate IRandomAccessSource
GetBufferedRandomAccessSource. source
(package private) IRandomAccessSource
GroupedRandomAccessSource.SourceEntry. source
The underlying sourceprivate IRandomAccessSource
IndependentRandomAccessSource. source
The sourceprivate IRandomAccessSource
RASInputStream. source
The source.private IRandomAccessSource
ThreadSafeRandomAccessSource. source
private IRandomAccessSource
WindowRandomAccessSource. source
The sourceFields in com.itextpdf.io.source with type parameters of type IRandomAccessSource Modifier and Type Field Description private 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 IRandomAccessSource Modifier and Type Method Description private static IRandomAccessSource[]
PagedChannelRandomAccessSource. buildSources(java.nio.channels.FileChannel channel, int bufferSize)
Constructs a set ofMappedChannelRandomAccessSource
s for each page (of size bufferSize) of the underlying channelIRandomAccessSource
RandomAccessSourceFactory. createBestSource(java.lang.String filename)
Creates aIRandomAccessSource
based on a filename string.IRandomAccessSource
RandomAccessSourceFactory. createBestSource(java.nio.channels.FileChannel channel)
Creates aIRandomAccessSource
based on memory mapping a file channel.private IRandomAccessSource
RandomAccessSourceFactory. createByReadingToMemory(java.io.InputStream stream)
Creates a newIRandomAccessSource
by reading the specified file/resource into memoryprivate IRandomAccessSource
RandomAccessSourceFactory. createByReadingToMemory(java.lang.String filename)
Creates a newIRandomAccessSource
by reading the specified file/resource into memoryIRandomAccessSource
RandomAccessSourceFactory. createRanged(IRandomAccessSource source, long[] ranges)
IRandomAccessSource
RandomAccessSourceFactory. createSource(byte[] data)
Creates aIRandomAccessSource
based on a byte arrayIRandomAccessSource
RandomAccessSourceFactory. createSource(java.io.InputStream inputStream)
Creates aIRandomAccessSource
based on anInputStream
.IRandomAccessSource
RandomAccessSourceFactory. createSource(java.io.RandomAccessFile raf)
IRandomAccessSource
RandomAccessSourceFactory. createSource(java.net.URL url)
Creates aIRandomAccessSource
based on a URL.IRandomAccessSource
RandomAccessFileOrArray. createSourceView()
Creates the view of the byte source of this object.IRandomAccessSource
RandomAccessSourceFactory. extractOrCreateSource(java.io.InputStream inputStream)
Creates or extracts aIRandomAccessSource
based on anInputStream
.IRandomAccessSource
RASInputStream. getSource()
Gets the sourceMethods in com.itextpdf.io.source with parameters of type IRandomAccessSource Modifier and Type Method Description IRandomAccessSource
RandomAccessSourceFactory. 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 IRandomAccessSource Constructor Description GetBufferedRandomAccessSource(IRandomAccessSource source)
Constructs a new OffsetRandomAccessSourceGroupedRandomAccessSource(IRandomAccessSource[] sources)
Constructs a newGroupedRandomAccessSource
based on the specified set of sourcesIndependentRandomAccessSource(IRandomAccessSource source)
Constructs 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 constructorThreadSafeRandomAccessSource(IRandomAccessSource source)
WindowRandomAccessSource(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 IRandomAccessSource Modifier and Type Method Description static void
StreamUtil. copyBytes(IRandomAccessSource source, long start, long length, java.io.OutputStream output)
Copy bytes from theRandomAccessSource
toOutputStream
. -
Uses of IRandomAccessSource in com.itextpdf.kernel.pdf
Classes in com.itextpdf.kernel.pdf that implement IRandomAccessSource Modifier and Type Class Description protected static class
PdfReader.ReusableRandomAccessSource
Methods in com.itextpdf.kernel.pdf with parameters of type IRandomAccessSource Modifier and Type Method Description private 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 IRandomAccessSource Constructor Description PdfReader(IRandomAccessSource byteSource, ReaderProperties properties)
Constructs a new PdfReader.PdfReader(IRandomAccessSource byteSource, ReaderProperties properties, boolean closeStream)
-
Uses of IRandomAccessSource in com.itextpdf.signatures
Fields in com.itextpdf.signatures declared as IRandomAccessSource Modifier and Type Field Description private IRandomAccessSource
PdfSigner.SignatureApplier. readerSource
Methods in com.itextpdf.signatures that return IRandomAccessSource Modifier and Type Method Description protected IRandomAccessSource
PdfSigner. getUnderlyingSource()
Returns the underlying source.Constructors in com.itextpdf.signatures with parameters of type IRandomAccessSource Constructor Description ContentsChecker(IRandomAccessSource byteSource, PdfDocument doc)
-