Uses of Interface
com.itextpdf.text.io.RandomAccessSource
Packages that use RandomAccessSource
-
Uses of RandomAccessSource in com.itextpdf.text.io
Classes in com.itextpdf.text.io that implement RandomAccessSourceModifier 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 RandomAccessSouce 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 safeclassA 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 RandomAccessSourceModifier and TypeFieldDescriptionprivate final RandomAccessSourceGetBufferedRandomAccessSource.sourceThe source(package private) final RandomAccessSourceGroupedRandomAccessSource.SourceEntry.sourceThe underlying sourceprivate final RandomAccessSourceIndependentRandomAccessSource.sourceThe sourceprivate final RandomAccessSourceRASInputStream.sourceThe sourceprivate final RandomAccessSourceWindowRandomAccessSource.sourceThe sourceFields in com.itextpdf.text.io with type parameters of type RandomAccessSourceModifier and TypeFieldDescriptionprivate final 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 RandomAccessSourceModifier and TypeMethodDescriptionprivate static RandomAccessSource[]PagedChannelRandomAccessSource.buildSources(FileChannel channel, int bufferSize) Constructs a set ofMappedChannelRandomAccessSources for each page (of size bufferSize) of the underlying channelRandomAccessSourceFactory.createBestSource(RandomAccessFile raf) Creates aRandomAccessSourcebased on a RandomAccessFile.RandomAccessSourceFactory.createBestSource(String filename) Creates aRandomAccessSourcebased on a filename string.RandomAccessSourceFactory.createBestSource(FileChannel channel) Creates aRandomAccessSourcebased on memory mapping a file channel.private RandomAccessSourceRandomAccessSourceFactory.createByReadingToMemory(InputStream is) Creates a newRandomAccessSourceby reading the specified file/resource into memoryprivate RandomAccessSourceRandomAccessSourceFactory.createByReadingToMemory(String filename) Creates a newRandomAccessSourceby reading the specified file/resource into memoryRandomAccessSourceFactory.createRanged(RandomAccessSource source, long[] ranges) RandomAccessSourceFactory.createSource(byte[] data) Creates aRandomAccessSourcebased on a byte arrayRandomAccessSourceFactory.createSource(InputStream is) Creates aRandomAccessSourcebased on anInputStream.RandomAccessSourceFactory.createSource(RandomAccessFile raf) RandomAccessSourceFactory.createSource(URL url) Creates aRandomAccessSourcebased on a URL.Methods in com.itextpdf.text.io with parameters of type RandomAccessSourceModifier and TypeMethodDescriptionstatic voidStreamUtil.CopyBytes(RandomAccessSource source, long start, long length, OutputStream outs) RandomAccessSourceFactory.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 RandomAccessSourceModifierConstructorDescriptionConstructs a new OffsetRandomAccessSourceGroupedRandomAccessSource(RandomAccessSource[] sources) Constructs a newGroupedRandomAccessSourcebased on the specified set of sourcesConstructs 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 RandomAccessSourceModifier and TypeFieldDescriptionprivate final RandomAccessSourceRandomAccessFileOrArray.byteSourceThe source that backs this objectMethods in com.itextpdf.text.pdf that return RandomAccessSourceModifier and TypeMethodDescriptionRandomAccessFileOrArray.createSourceView()protected RandomAccessSourceRandomAccessFileOrArray.getByteSource()Deprecated.private RandomAccessSourcePdfSignatureAppearance.getUnderlyingSource()Methods in com.itextpdf.text.pdf with parameters of type RandomAccessSourceModifier and TypeMethodDescriptionprivate 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 RandomAccessSourceModifierConstructorDescriptionprivatePdfReader(RandomAccessSource byteSource, boolean partialRead, byte[] ownerPassword, Certificate certificate, Key certificateKey, String certificateKeyProvider, ExternalDecryptionProcess externalDecryptionProcess, boolean closeSourceOnConstructorError) Constructs a new PdfReader.privatePdfReader(RandomAccessSource byteSource, ReaderProperties properties) Constructs a new PdfReader.RandomAccessFileOrArray(RandomAccessSource byteSource) Creates a RandomAccessFileOrArray that wraps the specified byte source.