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) classA RandomAccessSource that is based on an underlying byte array(package private) classA RandomAccessSource that is based on an underlyingByteBuffer.classA RandomAccessSource that is based on an underlyingFileChannel.class(package private) classA RandomAccessSource that is based on a set of underlying sources, treating the sources as if they were a contiguous block of data.classA RandomAccessSource that is wraps another RandomAccessSource but does not propagate close().(package private) classA RandomAccessSource that represents a memory mapped section of an underlying FileChannel.(package private) classA RandomAccessSource that is based on an underlyingFileChannel.(package private) classA RandomAccessSource that uses aRandomAccessFileas it's source Note: Unlike most of the RandomAccessSource implementations, this class is not thread safeclassclassA 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 IRandomAccessSourceRandomAccessFileOrArray.byteSourceThe source that backs this objectprivate final IRandomAccessSourceGetBufferedRandomAccessSource.source(package private) final IRandomAccessSourceGroupedRandomAccessSource.SourceEntry.sourceThe underlying sourceprivate final IRandomAccessSourceIndependentRandomAccessSource.sourceThe sourceprivate final IRandomAccessSourceRASInputStream.sourceThe source.private final IRandomAccessSourceThreadSafeRandomAccessSource.sourceprivate final IRandomAccessSourceWindowRandomAccessSource.sourceThe sourceFields in com.itextpdf.io.source with type parameters of type IRandomAccessSourceModifier and TypeFieldDescriptionprivate final 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 IRandomAccessSourceModifier and TypeMethodDescriptionprivate static IRandomAccessSource[]PagedChannelRandomAccessSource.buildSources(FileChannel channel, int bufferSize) Constructs a set ofMappedChannelRandomAccessSources for each page (of size bufferSize) of the underlying channelRandomAccessSourceFactory.createBestSource(String filename) Creates aIRandomAccessSourcebased on a filename string.RandomAccessSourceFactory.createBestSource(FileChannel channel) Creates aIRandomAccessSourcebased on memory mapping a file channel.private IRandomAccessSourceRandomAccessSourceFactory.createByReadingToMemory(InputStream stream) Creates a newIRandomAccessSourceby reading the specified file/resource into memoryprivate IRandomAccessSourceRandomAccessSourceFactory.createByReadingToMemory(String filename) Creates a newIRandomAccessSourceby reading the specified file/resource into memoryRandomAccessSourceFactory.createRanged(IRandomAccessSource source, long[] ranges) RandomAccessSourceFactory.createSource(byte[] data) Creates aIRandomAccessSourcebased on a byte arrayRandomAccessSourceFactory.createSource(InputStream inputStream) Creates aIRandomAccessSourcebased on anInputStream.RandomAccessSourceFactory.createSource(RandomAccessFile raf) RandomAccessSourceFactory.createSource(URL url) Creates aIRandomAccessSourcebased on a URL.RandomAccessFileOrArray.createSourceView()Creates the view of the byte source of this object.RandomAccessSourceFactory.extractOrCreateSource(InputStream inputStream) Creates or extracts aIRandomAccessSourcebased 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 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 IRandomAccessSourceModifierConstructorDescriptionConstructs a new OffsetRandomAccessSourceGroupedRandomAccessSource(IRandomAccessSource[] sources) Constructs a newGroupedRandomAccessSourcebased 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 voidStreamUtil.copyBytes(IRandomAccessSource source, long start, long length, OutputStream output) Copy bytes from theRandomAccessSourcetoOutputStream. -
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 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 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 IRandomAccessSourcePdfSigner.SignatureApplier.readerSourceMethods in com.itextpdf.signatures that return IRandomAccessSourceModifier and TypeMethodDescriptionprotected IRandomAccessSourcePdfSigner.getUnderlyingSource()Returns the underlying source.Constructors in com.itextpdf.signatures with parameters of type IRandomAccessSource