Uses of Interface
com.itextpdf.text.io.RandomAccessSource
-
Packages that use RandomAccessSource Package Description com.itextpdf.text.io com.itextpdf.text.pdf -
-
Uses of RandomAccessSource in com.itextpdf.text.io
Classes in com.itextpdf.text.io that implement RandomAccessSource 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 RandomAccessSouce 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
WindowRandomAccessSource
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 RandomAccessSource Modifier and Type Field Description private RandomAccessSource
GetBufferedRandomAccessSource. source
The source(package private) RandomAccessSource
GroupedRandomAccessSource.SourceEntry. source
The underlying sourceprivate RandomAccessSource
IndependentRandomAccessSource. source
The sourceprivate RandomAccessSource
RASInputStream. source
The sourceprivate RandomAccessSource
WindowRandomAccessSource. source
The sourceFields in com.itextpdf.text.io with type parameters of type RandomAccessSource Modifier and Type Field Description private 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 RandomAccessSource Modifier and Type Method Description private static RandomAccessSource[]
PagedChannelRandomAccessSource. buildSources(java.nio.channels.FileChannel channel, int bufferSize)
Constructs a set ofMappedChannelRandomAccessSource
s for each page (of size bufferSize) of the underlying channelRandomAccessSource
RandomAccessSourceFactory. createBestSource(java.io.RandomAccessFile raf)
Creates aRandomAccessSource
based on a RandomAccessFile.RandomAccessSource
RandomAccessSourceFactory. createBestSource(java.lang.String filename)
Creates aRandomAccessSource
based on a filename string.RandomAccessSource
RandomAccessSourceFactory. createBestSource(java.nio.channels.FileChannel channel)
Creates aRandomAccessSource
based on memory mapping a file channel.private RandomAccessSource
RandomAccessSourceFactory. createByReadingToMemory(java.io.InputStream is)
Creates a newRandomAccessSource
by reading the specified file/resource into memoryprivate RandomAccessSource
RandomAccessSourceFactory. createByReadingToMemory(java.lang.String filename)
Creates a newRandomAccessSource
by reading the specified file/resource into memoryRandomAccessSource
RandomAccessSourceFactory. createRanged(RandomAccessSource source, long[] ranges)
RandomAccessSource
RandomAccessSourceFactory. createSource(byte[] data)
Creates aRandomAccessSource
based on a byte arrayRandomAccessSource
RandomAccessSourceFactory. createSource(java.io.InputStream is)
Creates aRandomAccessSource
based on anInputStream
.RandomAccessSource
RandomAccessSourceFactory. createSource(java.io.RandomAccessFile raf)
RandomAccessSource
RandomAccessSourceFactory. createSource(java.net.URL url)
Creates aRandomAccessSource
based on a URL.Methods in com.itextpdf.text.io with parameters of type RandomAccessSource Modifier and Type Method Description static void
StreamUtil. CopyBytes(RandomAccessSource source, long start, long length, java.io.OutputStream outs)
RandomAccessSource
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 RandomAccessSource Constructor Description GetBufferedRandomAccessSource(RandomAccessSource source)
Constructs a new OffsetRandomAccessSourceGroupedRandomAccessSource(RandomAccessSource[] sources)
Constructs a newGroupedRandomAccessSource
based on the specified set of sourcesIndependentRandomAccessSource(RandomAccessSource source)
Constructs 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 RandomAccessSource Modifier and Type Field Description private RandomAccessSource
RandomAccessFileOrArray. byteSource
The source that backs this objectMethods in com.itextpdf.text.pdf that return RandomAccessSource Modifier and Type Method Description RandomAccessSource
RandomAccessFileOrArray. createSourceView()
protected RandomAccessSource
RandomAccessFileOrArray. getByteSource()
Deprecated.private RandomAccessSource
PdfSignatureAppearance. getUnderlyingSource()
Methods in com.itextpdf.text.pdf with parameters of type RandomAccessSource Modifier and Type Method Description private 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 RandomAccessSource Constructor Description PdfReader(RandomAccessSource byteSource, boolean partialRead, byte[] ownerPassword, java.security.cert.Certificate certificate, java.security.Key certificateKey, java.lang.String certificateKeyProvider, ExternalDecryptionProcess externalDecryptionProcess, boolean closeSourceOnConstructorError)
Constructs a new PdfReader.PdfReader(RandomAccessSource byteSource, ReaderProperties properties)
Constructs a new PdfReader.RandomAccessFileOrArray(RandomAccessSource byteSource)
Creates a RandomAccessFileOrArray that wraps the specified byte source.
-