Class DataFlavor
- Namespace
- Java.Awt.Datatransfer
- Assembly
- MASES.JNet.dll
public class DataFlavor : JVMBridgeBase<DataFlavor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<DataFlavor>DataFlavor
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<DataFlavor>.SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])JVMBridgeBase<DataFlavor>.SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])JVMBridgeBase<DataFlavor>.IsAssignableFrom(IJavaType)JVMBridgeBase<DataFlavor>.IsAssignableFrom<T>()JVMBridgeBase<DataFlavor>.Execute<T>(params T[])JVMBridgeBase<DataFlavor>.DynBridgeClazzJVMBridgeBase<DataFlavor>.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
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
DataFlavor(String)
public DataFlavor(String arg0)
Parameters
Exceptions
DataFlavor(String, String)
public DataFlavor(String arg0, String arg1)
Parameters
DataFlavor(String, String, ClassLoader)
public DataFlavor(String arg0, String arg1, ClassLoader arg2)
Parameters
arg0
Stringarg1
Stringarg2
ClassLoader
Exceptions
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DefaultRepresentationClass
public Class DefaultRepresentationClass { get; }
Property Value
DefaultRepresentationClassAsString
public String DefaultRepresentationClassAsString { get; }
Property Value
HumanPresentableName
https://docs.oracle.com/en/java/javase/11/docs/api/java.datatransfer/java/awt/datatransfer/DataFlavor.html#getHumanPresentableName() https://docs.oracle.com/en/java/javase/11/docs/api/java.datatransfer/java/awt/datatransfer/DataFlavor.html#setHumanPresentableName(java.lang.String)
public String HumanPresentableName { get; set; }
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
MimeType
public String MimeType { get; }
Property Value
PrimaryType
public String PrimaryType { get; }
Property Value
RepresentationClass
public Class RepresentationClass { get; }
Property Value
SubType
public String SubType { get; }
Property Value
TextPlainUnicodeFlavor
public static DataFlavor TextPlainUnicodeFlavor { get; }
Property Value
allHtmlFlavor
public static DataFlavor allHtmlFlavor { get; set; }
Property Value
fragmentHtmlFlavor
public static DataFlavor fragmentHtmlFlavor { get; set; }
Property Value
imageFlavor
public static DataFlavor imageFlavor { get; }
Property Value
javaFileListFlavor
public static DataFlavor javaFileListFlavor { get; }
Property Value
javaJVMLocalObjectMimeType
public static String javaJVMLocalObjectMimeType { get; }
Property Value
javaRemoteObjectMimeType
public static String javaRemoteObjectMimeType { get; }
Property Value
javaSerializedObjectMimeType
public static String javaSerializedObjectMimeType { get; }
Property Value
selectionHtmlFlavor
public static DataFlavor selectionHtmlFlavor { get; set; }
Property Value
stringFlavor
public static DataFlavor stringFlavor { get; }
Property Value
Methods
GetParameter(String)
public String GetParameter(String arg0)
Parameters
Returns
GetReaderForText(Transferable)
public Reader GetReaderForText(Transferable arg0)
Parameters
arg0
Transferable
Returns
Exceptions
IsFlavorJavaFileListType()
public bool IsFlavorJavaFileListType()
Returns
IsFlavorRemoteObjectType()
public bool IsFlavorRemoteObjectType()
Returns
IsFlavorSerializedObjectType()
public bool IsFlavorSerializedObjectType()
Returns
IsFlavorTextType()
public bool IsFlavorTextType()
Returns
IsMimeTypeEqual(DataFlavor)
public bool IsMimeTypeEqual(DataFlavor arg0)
Parameters
arg0
DataFlavor
Returns
IsMimeTypeEqual(String)
public bool IsMimeTypeEqual(String arg0)
Parameters
Returns
IsMimeTypeSerializedObject()
public bool IsMimeTypeSerializedObject()
Returns
IsRepresentationClassByteBuffer()
public bool IsRepresentationClassByteBuffer()
Returns
IsRepresentationClassCharBuffer()
public bool IsRepresentationClassCharBuffer()
Returns
IsRepresentationClassInputStream()
public bool IsRepresentationClassInputStream()
Returns
IsRepresentationClassReader()
public bool IsRepresentationClassReader()
Returns
IsRepresentationClassRemote()
public bool IsRepresentationClassRemote()
Returns
IsRepresentationClassSerializable()
public bool IsRepresentationClassSerializable()
Returns
Match(DataFlavor)
public bool Match(DataFlavor arg0)
Parameters
arg0
DataFlavor
Returns
ReadExternal(ObjectInput)
public void ReadExternal(ObjectInput arg0)
Parameters
arg0
ObjectInput
Exceptions
SelectBestTextFlavor(DataFlavor[])
public static DataFlavor SelectBestTextFlavor(DataFlavor[] arg0)
Parameters
arg0
DataFlavor[]
Returns
WriteExternal(ObjectOutput)
public void WriteExternal(ObjectOutput arg0)
Parameters
arg0
ObjectOutput
Exceptions
Operators
implicit operator Externalizable(DataFlavor)
Converter from DataFlavor to Externalizable
public static implicit operator Externalizable(DataFlavor t)
Parameters
Returns
implicit operator Cloneable(DataFlavor)
Converter from DataFlavor to Cloneable
public static implicit operator Cloneable(DataFlavor t)