Class RandomAccessFile
public class RandomAccessFile : JVMBridgeBase<RandomAccessFile>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<RandomAccessFile>RandomAccessFile
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<RandomAccessFile>.IsAssignableFrom(IJavaType)JVMBridgeBase<RandomAccessFile>.IsAssignableFrom<T>()JVMBridgeBase<RandomAccessFile>.Execute<T>(params T[])JVMBridgeBase<RandomAccessFile>.DynBridgeClazzJVMBridgeBase<RandomAccessFile>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
RandomAccessFile()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public RandomAccessFile()
RandomAccessFile(File, String)
public RandomAccessFile(File arg0, String arg1)
Parameters
Exceptions
RandomAccessFile(String, String)
public RandomAccessFile(String arg0, String arg1)
Parameters
Exceptions
RandomAccessFile(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public RandomAccessFile(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Channel
public FileChannel Channel { get; }
Property Value
FD
public FileDescriptor FD { get; }
Property Value
FilePointer
public long FilePointer { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Close()
public void Close()
Exceptions
Length()
public long Length()
Returns
Exceptions
Read()
public int Read()
Returns
Exceptions
Read(byte[])
public int Read(byte[] arg0)
Parameters
Returns
Exceptions
Read(byte[], int, int)
public int Read(byte[] arg0, int arg1, int arg2)
Parameters
Returns
Exceptions
ReadBoolean()
public bool ReadBoolean()
Returns
Exceptions
ReadByte()
public byte ReadByte()
Returns
Exceptions
ReadChar()
public char ReadChar()
Returns
Exceptions
ReadDouble()
public double ReadDouble()
Returns
Exceptions
ReadFloat()
public float ReadFloat()
Returns
Exceptions
ReadFully(byte[])
public void ReadFully(byte[] arg0)
Parameters
Exceptions
ReadFully(byte[], int, int)
public void ReadFully(byte[] arg0, int arg1, int arg2)
Parameters
Exceptions
ReadInt()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/RandomAccessFile.html#readInt()
public int ReadInt()
Returns
Exceptions
ReadLine()
public String ReadLine()
Returns
Exceptions
ReadLong()
public long ReadLong()
Returns
Exceptions
ReadShort()
public short ReadShort()
Returns
Exceptions
ReadUTF()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/RandomAccessFile.html#readUTF()
public String ReadUTF()
Returns
Exceptions
ReadUnsignedByte()
public int ReadUnsignedByte()
Returns
Exceptions
ReadUnsignedShort()
public int ReadUnsignedShort()
Returns
Exceptions
Seek(long)
public void Seek(long arg0)
Parameters
Exceptions
SetLength(long)
public void SetLength(long arg0)
Parameters
Exceptions
SkipBytes(int)
public int SkipBytes(int arg0)
Parameters
Returns
Exceptions
Write(byte[])
public void Write(byte[] arg0)
Parameters
Exceptions
Write(byte[], int, int)
public void Write(byte[] arg0, int arg1, int arg2)
Parameters
Exceptions
Write(int)
public void Write(int arg0)
Parameters
Exceptions
WriteBoolean(bool)
public void WriteBoolean(bool arg0)
Parameters
Exceptions
WriteByte(int)
public void WriteByte(int arg0)
Parameters
Exceptions
WriteBytes(String)
public void WriteBytes(String arg0)
Parameters
Exceptions
WriteChar(int)
public void WriteChar(int arg0)
Parameters
Exceptions
WriteChars(String)
public void WriteChars(String arg0)
Parameters
Exceptions
WriteDouble(double)
public void WriteDouble(double arg0)
Parameters
Exceptions
WriteFloat(float)
public void WriteFloat(float arg0)
Parameters
Exceptions
WriteInt(int)
public void WriteInt(int arg0)
Parameters
Exceptions
WriteLong(long)
public void WriteLong(long arg0)
Parameters
Exceptions
WriteShort(int)
public void WriteShort(int arg0)
Parameters
Exceptions
WriteUTF(String)
public void WriteUTF(String arg0)
Parameters
Exceptions
Operators
implicit operator Closeable(RandomAccessFile)
Converter from RandomAccessFile to Closeable
public static implicit operator Closeable(RandomAccessFile t)
Parameters
Returns
implicit operator DataInput(RandomAccessFile)
Converter from RandomAccessFile to DataInput
public static implicit operator DataInput(RandomAccessFile t)
Parameters
Returns
implicit operator DataOutput(RandomAccessFile)
Converter from RandomAccessFile to DataOutput
public static implicit operator DataOutput(RandomAccessFile t)