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) classArrayRandomAccessSourceA RandomAccessSource that is based on an underlying byte array(package private) classByteBufferRandomAccessSourceA RandomAccessSource that is based on an underlyingByteBuffer.classFileChannelRandomAccessSourceA RandomAccessSource that is based on an underlyingFileChannel.classGetBufferedRandomAccessSource(package private) classGroupedRandomAccessSourceA RandomAccessSource that is based on a set of underlying sources, treating the sources as if they were a contiguous block of data.classIndependentRandomAccessSourceA RandomAccessSource that is wraps another RandomAccessSouce but does not propagate close().(package private) classMappedChannelRandomAccessSourceA RandomAccessSource that represents a memory mapped section of an underlying FileChannel.(package private) classPagedChannelRandomAccessSourceA RandomAccessSource that is based on an underlyingFileChannel.(package private) classRAFRandomAccessSourceA RandomAccessSource that uses aRandomAccessFileas it's source Note: Unlike most of the RandomAccessSource implementations, this class is not thread safeclassWindowRandomAccessSourceA 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 RandomAccessSourceGetBufferedRandomAccessSource. sourceThe source(package private) RandomAccessSourceGroupedRandomAccessSource.SourceEntry. sourceThe underlying sourceprivate RandomAccessSourceIndependentRandomAccessSource. sourceThe sourceprivate RandomAccessSourceRASInputStream. sourceThe sourceprivate RandomAccessSourceWindowRandomAccessSource. sourceThe sourceFields in com.itextpdf.text.io with type parameters of type RandomAccessSource Modifier and Type Field Description private PagedChannelRandomAccessSource.MRU<RandomAccessSource>PagedChannelRandomAccessSource. mruMost 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 ofMappedChannelRandomAccessSources for each page (of size bufferSize) of the underlying channelRandomAccessSourceRandomAccessSourceFactory. createBestSource(java.io.RandomAccessFile raf)Creates aRandomAccessSourcebased on a RandomAccessFile.RandomAccessSourceRandomAccessSourceFactory. createBestSource(java.lang.String filename)Creates aRandomAccessSourcebased on a filename string.RandomAccessSourceRandomAccessSourceFactory. createBestSource(java.nio.channels.FileChannel channel)Creates aRandomAccessSourcebased on memory mapping a file channel.private RandomAccessSourceRandomAccessSourceFactory. createByReadingToMemory(java.io.InputStream is)Creates a newRandomAccessSourceby reading the specified file/resource into memoryprivate RandomAccessSourceRandomAccessSourceFactory. createByReadingToMemory(java.lang.String filename)Creates a newRandomAccessSourceby reading the specified file/resource into memoryRandomAccessSourceRandomAccessSourceFactory. createRanged(RandomAccessSource source, long[] ranges)RandomAccessSourceRandomAccessSourceFactory. createSource(byte[] data)Creates aRandomAccessSourcebased on a byte arrayRandomAccessSourceRandomAccessSourceFactory. createSource(java.io.InputStream is)Creates aRandomAccessSourcebased on anInputStream.RandomAccessSourceRandomAccessSourceFactory. createSource(java.io.RandomAccessFile raf)RandomAccessSourceRandomAccessSourceFactory. createSource(java.net.URL url)Creates aRandomAccessSourcebased on a URL.Methods in com.itextpdf.text.io with parameters of type RandomAccessSource Modifier and Type Method Description static voidStreamUtil. CopyBytes(RandomAccessSource source, long start, long length, java.io.OutputStream outs)RandomAccessSourceRandomAccessSourceFactory. createRanged(RandomAccessSource source, long[] ranges)protected voidGroupedRandomAccessSource. sourceInUse(RandomAccessSource source)Called when a given source is about to become the active source.protected voidPagedChannelRandomAccessSource. sourceInUse(RandomAccessSource source)protected voidGroupedRandomAccessSource. sourceReleased(RandomAccessSource source)Called when a given source is no longer the active source.protected voidPagedChannelRandomAccessSource. 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 newGroupedRandomAccessSourcebased 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 RandomAccessSourceRandomAccessFileOrArray. byteSourceThe source that backs this objectMethods in com.itextpdf.text.pdf that return RandomAccessSource Modifier and Type Method Description RandomAccessSourceRandomAccessFileOrArray. createSourceView()protected RandomAccessSourceRandomAccessFileOrArray. getByteSource()Deprecated.private RandomAccessSourcePdfSignatureAppearance. getUnderlyingSource()Methods in com.itextpdf.text.pdf with parameters of type RandomAccessSource Modifier and Type Method Description private static PRTokeniserPdfReader. 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.
-