Table of Contents

Class Channels

Namespace
Java.Nio.Channels
Assembly
MASES.JNet.dll
public class Channels : JVMBridgeBase<Channels>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Channels>
Channels
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Channels>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Channels>.IsAssignableFrom<T>()
JVMBridgeBase<Channels>.Execute<T>(params T[])
JVMBridgeBase<Channels>.DynBridgeClazz
JVMBridgeBase<Channels>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Channels()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Channels()

Channels(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 Channels(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

NewChannel(InputStream)

public static ReadableByteChannel NewChannel(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Returns

ReadableByteChannel

ReadableByteChannel

NewChannel(OutputStream)

public static WritableByteChannel NewChannel(OutputStream arg0)

Parameters

arg0 OutputStream

OutputStream

Returns

WritableByteChannel

WritableByteChannel

NewInputStream(AsynchronousByteChannel)

public static InputStream NewInputStream(AsynchronousByteChannel arg0)

Parameters

arg0 AsynchronousByteChannel

AsynchronousByteChannel

Returns

InputStream

InputStream

NewInputStream(ReadableByteChannel)

public static InputStream NewInputStream(ReadableByteChannel arg0)

Parameters

arg0 ReadableByteChannel

ReadableByteChannel

Returns

InputStream

InputStream

NewOutputStream(AsynchronousByteChannel)

public static OutputStream NewOutputStream(AsynchronousByteChannel arg0)

Parameters

arg0 AsynchronousByteChannel

AsynchronousByteChannel

Returns

OutputStream

OutputStream

NewOutputStream(WritableByteChannel)

public static OutputStream NewOutputStream(WritableByteChannel arg0)

Parameters

arg0 WritableByteChannel

WritableByteChannel

Returns

OutputStream

OutputStream

NewReader(ReadableByteChannel, String)

public static Reader NewReader(ReadableByteChannel arg0, String arg1)

Parameters

arg0 ReadableByteChannel

ReadableByteChannel

arg1 String

String

Returns

Reader

Reader

NewReader(ReadableByteChannel, Charset)

public static Reader NewReader(ReadableByteChannel arg0, Charset arg1)

Parameters

arg0 ReadableByteChannel

ReadableByteChannel

arg1 Charset

Charset

Returns

Reader

Reader

NewReader(ReadableByteChannel, CharsetDecoder, int)

public static Reader NewReader(ReadableByteChannel arg0, CharsetDecoder arg1, int arg2)

Parameters

arg0 ReadableByteChannel

ReadableByteChannel

arg1 CharsetDecoder

CharsetDecoder

arg2 int

int

Returns

Reader

Reader

NewWriter(WritableByteChannel, String)

public static Writer NewWriter(WritableByteChannel arg0, String arg1)

Parameters

arg0 WritableByteChannel

WritableByteChannel

arg1 String

String

Returns

Writer

Writer

NewWriter(WritableByteChannel, Charset)

public static Writer NewWriter(WritableByteChannel arg0, Charset arg1)

Parameters

arg0 WritableByteChannel

WritableByteChannel

arg1 Charset

Charset

Returns

Writer

Writer

NewWriter(WritableByteChannel, CharsetEncoder, int)

public static Writer NewWriter(WritableByteChannel arg0, CharsetEncoder arg1, int arg2)

Parameters

arg0 WritableByteChannel

WritableByteChannel

arg1 CharsetEncoder

CharsetEncoder

arg2 int

int

Returns

Writer

Writer