Package | Description |
---|---|
com.itextpdf.io.source |
Modifier and Type | Class and Description |
---|---|
class |
FileChannelRandomAccessSource
A RandomAccessSource that is based on an underlying
FileChannel . |
class |
GetBufferedRandomAccessSource |
class |
IndependentRandomAccessSource
A RandomAccessSource that is wraps another RandomAccessSource but does not propagate close().
|
class |
ThreadSafeRandomAccessSource |
class |
WindowRandomAccessSource
A RandomAccessSource that wraps another RandomAccessSource and provides a window of it at a specific offset and over
a specific length.
|
Modifier and Type | Method and Description |
---|---|
IRandomAccessSource |
RandomAccessSourceFactory.createBestSource(FileChannel channel)
Creates a
IRandomAccessSource based on memory mapping a file channel. |
IRandomAccessSource |
RandomAccessSourceFactory.createBestSource(String filename)
Creates a
IRandomAccessSource based on a filename string. |
IRandomAccessSource |
RandomAccessSourceFactory.createRanged(IRandomAccessSource source,
long[] ranges) |
IRandomAccessSource |
RandomAccessSourceFactory.createSource(byte[] data)
Creates a
IRandomAccessSource based on a byte array |
IRandomAccessSource |
RandomAccessSourceFactory.createSource(InputStream inputStream)
Creates a
IRandomAccessSource based on an InputStream . |
IRandomAccessSource |
RandomAccessSourceFactory.createSource(RandomAccessFile raf) |
IRandomAccessSource |
RandomAccessSourceFactory.createSource(URL url)
Creates a
IRandomAccessSource based on a URL. |
IRandomAccessSource |
RandomAccessFileOrArray.createSourceView()
Creates the view of the byte source of this object.
|
IRandomAccessSource |
RandomAccessSourceFactory.extractOrCreateSource(InputStream inputStream)
Creates or extracts a
IRandomAccessSource based on an InputStream . |
IRandomAccessSource |
RASInputStream.getSource()
Gets the source
|
Modifier and Type | Method and Description |
---|---|
IRandomAccessSource |
RandomAccessSourceFactory.createRanged(IRandomAccessSource source,
long[] ranges) |
Constructor and Description |
---|
GetBufferedRandomAccessSource(IRandomAccessSource source)
Constructs a new OffsetRandomAccessSource
|
IndependentRandomAccessSource(IRandomAccessSource source)
Constructs a new IndependentRandomAccessSource object
|
RandomAccessFileOrArray(IRandomAccessSource byteSource)
Creates a RandomAccessFileOrArray that wraps the specified byte source.
|
RASInputStream(IRandomAccessSource source)
Creates an input stream based on the source.
|
ThreadSafeRandomAccessSource(IRandomAccessSource source) |
WindowRandomAccessSource(IRandomAccessSource source,
long offset)
Constructs a new OffsetRandomAccessSource that extends to the end of the underlying source
|
WindowRandomAccessSource(IRandomAccessSource source,
long offset,
long length)
Constructs a new OffsetRandomAccessSource with an explicit length
|
Copyright © 1998–2023 Apryse Group NV. All rights reserved.