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) 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 RandomAccessSource 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 safeclassThreadSafeRandomAccessSourceclassWindowRandomAccessSourceA 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 IRandomAccessSourceRandomAccessFileOrArray. byteSourceThe source that backs this objectprivate IRandomAccessSourceGetBufferedRandomAccessSource. source(package private) IRandomAccessSourceGroupedRandomAccessSource.SourceEntry. sourceThe underlying sourceprivate IRandomAccessSourceIndependentRandomAccessSource. sourceThe sourceprivate IRandomAccessSourceRASInputStream. sourceThe source.private IRandomAccessSourceThreadSafeRandomAccessSource. sourceprivate IRandomAccessSourceWindowRandomAccessSource. sourceThe sourceFields in com.itextpdf.io.source with type parameters of type IRandomAccessSource Modifier and Type Field Description private PagedChannelRandomAccessSource.MRU<IRandomAccessSource>PagedChannelRandomAccessSource. mruMost 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 ofMappedChannelRandomAccessSources for each page (of size bufferSize) of the underlying channelIRandomAccessSourceRandomAccessSourceFactory. createBestSource(java.lang.String filename)Creates aIRandomAccessSourcebased on a filename string.IRandomAccessSourceRandomAccessSourceFactory. createBestSource(java.nio.channels.FileChannel channel)Creates aIRandomAccessSourcebased on memory mapping a file channel.private IRandomAccessSourceRandomAccessSourceFactory. createByReadingToMemory(java.io.InputStream stream)Creates a newIRandomAccessSourceby reading the specified file/resource into memoryprivate IRandomAccessSourceRandomAccessSourceFactory. createByReadingToMemory(java.lang.String filename)Creates a newIRandomAccessSourceby reading the specified file/resource into memoryIRandomAccessSourceRandomAccessSourceFactory. createRanged(IRandomAccessSource source, long[] ranges)IRandomAccessSourceRandomAccessSourceFactory. createSource(byte[] data)Creates aIRandomAccessSourcebased on a byte arrayIRandomAccessSourceRandomAccessSourceFactory. createSource(java.io.InputStream inputStream)Creates aIRandomAccessSourcebased on anInputStream.IRandomAccessSourceRandomAccessSourceFactory. createSource(java.io.RandomAccessFile raf)IRandomAccessSourceRandomAccessSourceFactory. createSource(java.net.URL url)Creates aIRandomAccessSourcebased on a URL.IRandomAccessSourceRandomAccessFileOrArray. createSourceView()Creates the view of the byte source of this object.IRandomAccessSourceRandomAccessSourceFactory. extractOrCreateSource(java.io.InputStream inputStream)Creates or extracts aIRandomAccessSourcebased on anInputStream.IRandomAccessSourceRASInputStream. getSource()Gets the sourceMethods in com.itextpdf.io.source with parameters of type IRandomAccessSource Modifier and Type Method Description IRandomAccessSourceRandomAccessSourceFactory. createRanged(IRandomAccessSource source, long[] ranges)protected voidGroupedRandomAccessSource. sourceInUse(IRandomAccessSource source)Called when a given source is about to become the active source.protected voidPagedChannelRandomAccessSource. sourceInUse(IRandomAccessSource source)Called when a given source is about to become the active source.protected voidGroupedRandomAccessSource. sourceReleased(IRandomAccessSource source)Called when a given source is no longer the active source.protected voidPagedChannelRandomAccessSource. 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 newGroupedRandomAccessSourcebased 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 voidStreamUtil. copyBytes(IRandomAccessSource source, long start, long length, java.io.OutputStream output)Copy bytes from theRandomAccessSourcetoOutputStream. -
Uses of IRandomAccessSource in com.itextpdf.kernel.pdf
Classes in com.itextpdf.kernel.pdf that implement IRandomAccessSource Modifier and Type Class Description protected static classPdfReader.ReusableRandomAccessSourceMethods in com.itextpdf.kernel.pdf with parameters of type IRandomAccessSource Modifier and Type Method Description private static PdfTokenizerPdfReader. 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 IRandomAccessSourcePdfSigner.SignatureApplier. readerSourceMethods in com.itextpdf.signatures that return IRandomAccessSource Modifier and Type Method Description protected IRandomAccessSourcePdfSigner. getUnderlyingSource()Returns the underlying source.Constructors in com.itextpdf.signatures with parameters of type IRandomAccessSource Constructor Description ContentsChecker(IRandomAccessSource byteSource, PdfDocument doc)
-