public class MappedFile extends Filter
Note: .NET or Java applications should explicitly Close() files when they are not needed. If the files are not closed or disposed this may lead to the resource exhaustion.
Modifier and Type | Field and Description |
---|---|
static int |
e_append_mode
The Constant e_append_mode.
|
static int |
e_read_mode
The Constant e_read_mode.
|
static int |
e_write_mode
The Constant e_write_mode.
|
Constructor and Description |
---|
MappedFile(java.lang.String filename)
Create a new instance of MappedFile class with the specified path
|
Modifier and Type | Method and Description |
---|---|
long |
fileSize()
Get file size.
|
__Create, __GetHandle, __SetRefHandle, attachFilter, canSeek, createInputIterator, destroy, flush, flushAll, getAttachedFilter, getDecodeName, getFilePath, getName, getSourceFilter, isInputFilter, releaseAttachedFilter, seek, setStreamLength, tell, writeToFile
public static final int e_read_mode
public static final int e_write_mode
public static final int e_append_mode
public MappedFile(java.lang.String filename) throws PDFNetException
filename
- PDFNetException
public long fileSize() throws PDFNetException
PDFNetException