Table of Contents

Class RandomAccessReadMemoryMappedFile

Namespace
Org.Apache.Pdfbox.Io
Assembly
MASES.NetPDF.dll
public class RandomAccessReadMemoryMappedFile : RandomAccessRead, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IRandomAccessRead, ICloseable, IAutoCloseable
Inheritance
RandomAccessReadMemoryMappedFile
Implements
Inherited Members

Constructors

RandomAccessReadMemoryMappedFile(File)

public RandomAccessReadMemoryMappedFile(File arg0)

Parameters

arg0 File

File

Exceptions

IOException

RandomAccessReadMemoryMappedFile(String)

public RandomAccessReadMemoryMappedFile(String arg0)

Parameters

arg0 String

String

Exceptions

IOException

RandomAccessReadMemoryMappedFile(Path)

public RandomAccessReadMemoryMappedFile(Path arg0)

Parameters

arg0 Path

Path

Exceptions

IOException

RandomAccessReadMemoryMappedFile(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public RandomAccessReadMemoryMappedFile(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Position

public long Position { get; }

Property Value

long

Methods

Close()

public void Close()

Exceptions

IOException

CreatePoolableInstance(File)

HPA initializer for RandomAccessReadMemoryMappedFile(Java.Io.File arg0)

public static RandomAccessReadMemoryMappedFile CreatePoolableInstance(File arg0)

Parameters

arg0 File

Returns

RandomAccessReadMemoryMappedFile

CreatePoolableInstance(String)

HPA initializer for RandomAccessReadMemoryMappedFile(Java.Lang.String arg0)

public static RandomAccessReadMemoryMappedFile CreatePoolableInstance(String arg0)

Parameters

arg0 String

Returns

RandomAccessReadMemoryMappedFile

CreatePoolableInstance(Path)

HPA initializer for RandomAccessReadMemoryMappedFile(Java.Nio.File.Path arg0)

public static RandomAccessReadMemoryMappedFile CreatePoolableInstance(Path arg0)

Parameters

arg0 Path

Returns

RandomAccessReadMemoryMappedFile

CreateView(long, long)

public RandomAccessReadView CreateView(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

RandomAccessReadView

RandomAccessReadView

IsClosed()

public bool IsClosed()

Returns

bool

bool

IsEOF()

public bool IsEOF()

Returns

bool

bool

Exceptions

IOException

Length()

public long Length()

Returns

long

long

Exceptions

IOException

Read()

public int Read()

Returns

int

int

Exceptions

IOException

Read(byte[], int, int)

public int Read(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

int

int

Exceptions

IOException

Seek(long)

public void Seek(long arg0)

Parameters

arg0 long

long

Exceptions

IOException