Package | Description |
---|---|
com.itextpdf.text.io | |
com.itextpdf.text.pdf |
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 RandomAccessSouce but does not propagate close().
|
class |
WindowRandomAccessSource
A RandomAccessSource that wraps another RandomAccessSouce and provides a window of it at a specific offset and over a specific length.
|
Modifier and Type | Method and Description |
---|---|
RandomAccessSource |
RandomAccessSourceFactory.createBestSource(FileChannel channel)
Creates a RandomAccessSource based on memory mapping a file channel.
|
RandomAccessSource |
RandomAccessSourceFactory.createBestSource(RandomAccessFile raf)
Creates a RandomAccessSource based on a RandomAccessFile.
|
RandomAccessSource |
RandomAccessSourceFactory.createBestSource(String filename)
Creates a RandomAccessSource based on a filename string.
|
RandomAccessSource |
RandomAccessSourceFactory.createRanged(RandomAccessSource source, long[] ranges) |
RandomAccessSource |
RandomAccessSourceFactory.createSource(byte[] data)
Creates a RandomAccessSource based on a byte array
|
RandomAccessSource |
RandomAccessSourceFactory.createSource(InputStream is)
Creates a RandomAccessSource based on an InputStream .
|
RandomAccessSource |
RandomAccessSourceFactory.createSource(RandomAccessFile raf) |
RandomAccessSource |
RandomAccessSourceFactory.createSource(URL url)
Creates a RandomAccessSource based on a URL.
|
Modifier and Type | Method and Description |
---|---|
static void |
StreamUtil.CopyBytes(RandomAccessSource source, long start, long length, OutputStream outs) |
RandomAccessSource |
RandomAccessSourceFactory.createRanged(RandomAccessSource source, long[] ranges) |
Constructor and Description |
---|
GetBufferedRandomAccessSource(RandomAccessSource source)
Constructs a new OffsetRandomAccessSource
|
IndependentRandomAccessSource(RandomAccessSource source)
Constructs a new OffsetRandomAccessSource
|
RASInputStream(RandomAccessSource source)
Creates an input stream based on the source
|
WindowRandomAccessSource(RandomAccessSource source, long offset)
Constructs a new OffsetRandomAccessSource that extends to the end of the underlying source
|
WindowRandomAccessSource(RandomAccessSource source, long offset, long length)
Constructs a new OffsetRandomAccessSource with an explicit length
|
Modifier and Type | Method and Description |
---|---|
RandomAccessSource |
RandomAccessFileOrArray.createSourceView() |
protected RandomAccessSource |
RandomAccessFileOrArray.getByteSource()
Deprecated.
|
Constructor and Description |
---|
RandomAccessFileOrArray(RandomAccessSource byteSource)
Creates a RandomAccessFileOrArray that wraps the specified byte source.
|
Copyright © 1998–2019. All rights reserved.