Table of Contents

Class DataFlavor

Namespace
Java.Awt.Datatransfer
Assembly
MASES.JNet.dll
public class DataFlavor : JVMBridgeBase<DataFlavor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<DataFlavor>
DataFlavor
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<DataFlavor>.IsAssignableFrom(IJavaType)
JVMBridgeBase<DataFlavor>.IsAssignableFrom<T>()
JVMBridgeBase<DataFlavor>.Execute<T>(params T[])
JVMBridgeBase<DataFlavor>.DynBridgeClazz
JVMBridgeBase<DataFlavor>.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

DataFlavor()

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

public DataFlavor()

DataFlavor(Class, String)

public DataFlavor(Class arg0, String arg1)

Parameters

arg0 Class

Class

arg1 String

String

DataFlavor(String)

public DataFlavor(String arg0)

Parameters

arg0 String

String

Exceptions

ClassNotFoundException

DataFlavor(String, String)

public DataFlavor(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

DataFlavor(String, String, ClassLoader)

public DataFlavor(String arg0, String arg1, ClassLoader arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 ClassLoader

ClassLoader

Exceptions

ClassNotFoundException

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DefaultRepresentationClass

public Class DefaultRepresentationClass { get; }

Property Value

Class

DefaultRepresentationClassAsString

public String DefaultRepresentationClassAsString { get; }

Property Value

String

HumanPresentableName

public String HumanPresentableName { get; set; }

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

MimeType

public String MimeType { get; }

Property Value

String

PrimaryType

public String PrimaryType { get; }

Property Value

String

RepresentationClass

public Class RepresentationClass { get; }

Property Value

Class

SubType

public String SubType { get; }

Property Value

String

TextPlainUnicodeFlavor

public static DataFlavor TextPlainUnicodeFlavor { get; }

Property Value

DataFlavor

allHtmlFlavor

public static DataFlavor allHtmlFlavor { get; set; }

Property Value

DataFlavor

fragmentHtmlFlavor

public static DataFlavor fragmentHtmlFlavor { get; set; }

Property Value

DataFlavor

imageFlavor

public static DataFlavor imageFlavor { get; }

Property Value

DataFlavor

javaFileListFlavor

public static DataFlavor javaFileListFlavor { get; }

Property Value

DataFlavor

javaJVMLocalObjectMimeType

public static String javaJVMLocalObjectMimeType { get; }

Property Value

String

javaRemoteObjectMimeType

public static String javaRemoteObjectMimeType { get; }

Property Value

String

javaSerializedObjectMimeType

public static String javaSerializedObjectMimeType { get; }

Property Value

String

selectionHtmlFlavor

public static DataFlavor selectionHtmlFlavor { get; set; }

Property Value

DataFlavor

stringFlavor

public static DataFlavor stringFlavor { get; }

Property Value

DataFlavor

Methods

GetParameter(String)

public String GetParameter(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetReaderForText(Transferable)

public Reader GetReaderForText(Transferable arg0)

Parameters

arg0 Transferable

Transferable

Returns

Reader

Reader

Exceptions

UnsupportedFlavorException
IOException

IsFlavorJavaFileListType()

public bool IsFlavorJavaFileListType()

Returns

bool

bool

IsFlavorRemoteObjectType()

public bool IsFlavorRemoteObjectType()

Returns

bool

bool

IsFlavorSerializedObjectType()

public bool IsFlavorSerializedObjectType()

Returns

bool

bool

IsFlavorTextType()

public bool IsFlavorTextType()

Returns

bool

bool

IsMimeTypeEqual(DataFlavor)

public bool IsMimeTypeEqual(DataFlavor arg0)

Parameters

arg0 DataFlavor

DataFlavor

Returns

bool

bool

IsMimeTypeEqual(String)

public bool IsMimeTypeEqual(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsMimeTypeSerializedObject()

public bool IsMimeTypeSerializedObject()

Returns

bool

bool

IsRepresentationClassByteBuffer()

public bool IsRepresentationClassByteBuffer()

Returns

bool

bool

IsRepresentationClassCharBuffer()

public bool IsRepresentationClassCharBuffer()

Returns

bool

bool

IsRepresentationClassInputStream()

public bool IsRepresentationClassInputStream()

Returns

bool

bool

IsRepresentationClassReader()

public bool IsRepresentationClassReader()

Returns

bool

bool

IsRepresentationClassRemote()

public bool IsRepresentationClassRemote()

Returns

bool

bool

IsRepresentationClassSerializable()

public bool IsRepresentationClassSerializable()

Returns

bool

bool

Match(DataFlavor)

public bool Match(DataFlavor arg0)

Parameters

arg0 DataFlavor

DataFlavor

Returns

bool

bool

ReadExternal(ObjectInput)

public void ReadExternal(ObjectInput arg0)

Parameters

arg0 ObjectInput

ObjectInput

Exceptions

IOException
ClassNotFoundException

SelectBestTextFlavor(DataFlavor[])

public static DataFlavor SelectBestTextFlavor(DataFlavor[] arg0)

Parameters

arg0 DataFlavor[]

DataFlavor

Returns

DataFlavor

DataFlavor

WriteExternal(ObjectOutput)

public void WriteExternal(ObjectOutput arg0)

Parameters

arg0 ObjectOutput

ObjectOutput

Exceptions

IOException

Operators

implicit operator Externalizable(DataFlavor)

Converter from DataFlavor to Externalizable

public static implicit operator Externalizable(DataFlavor t)

Parameters

t DataFlavor

Returns

Externalizable

implicit operator Cloneable(DataFlavor)

Converter from DataFlavor to Cloneable

public static implicit operator Cloneable(DataFlavor t)

Parameters

t DataFlavor

Returns

Cloneable