Class RandomAccessReadMemoryMappedFile
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
Exceptions
RandomAccessReadMemoryMappedFile(String)
public RandomAccessReadMemoryMappedFile(String arg0)
Parameters
Exceptions
RandomAccessReadMemoryMappedFile(Path)
public RandomAccessReadMemoryMappedFile(Path arg0)
Parameters
Exceptions
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
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Position
public long Position { get; }
Property Value
Methods
Close()
public void Close()
Exceptions
CreatePoolableInstance(File)
HPA initializer for RandomAccessReadMemoryMappedFile(Java.Io.File arg0)
public static RandomAccessReadMemoryMappedFile CreatePoolableInstance(File arg0)
Parameters
arg0File
Returns
CreatePoolableInstance(String)
HPA initializer for RandomAccessReadMemoryMappedFile(Java.Lang.String arg0)
public static RandomAccessReadMemoryMappedFile CreatePoolableInstance(String arg0)
Parameters
arg0String
Returns
CreatePoolableInstance(Path)
HPA initializer for RandomAccessReadMemoryMappedFile(Java.Nio.File.Path arg0)
public static RandomAccessReadMemoryMappedFile CreatePoolableInstance(Path arg0)
Parameters
arg0Path
Returns
CreateView(long, long)
public RandomAccessReadView CreateView(long arg0, long arg1)
Parameters
Returns
IsClosed()
public bool IsClosed()
Returns
IsEOF()
public bool IsEOF()
Returns
Exceptions
Length()
public long Length()
Returns
Exceptions
Read()
public int Read()
Returns
Exceptions
Read(byte[], int, int)
public int Read(byte[] arg0, int arg1, int arg2)
Parameters
Returns
Exceptions
Seek(long)
public void Seek(long arg0)