Class CommandMap
- Namespace
- Javax.Activation
- Assembly
- MASES.JNet.dll
public class CommandMap : JVMBridgeBase<CommandMap>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
CommandMap
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase<CommandMap>.SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])JVMBridgeBase<CommandMap>.SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])JVMBridgeBase<CommandMap>.NewWithSignatureAndWrapsDirect<TNewClass>(string, string, params object[])
- Extension Methods
Constructors
CommandMap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("CommandMap class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CommandMap()
CommandMap(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CommandMap(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
CommandMap(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
[Obsolete("CommandMap class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CommandMap(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DefaultCommandMap
https://docs.oracle.com/javase/8/docs/api/javax/activation/CommandMap.html#getDefaultCommandMap-- https://docs.oracle.com/javase/8/docs/api/javax/activation/CommandMap.html#setDefaultCommandMap-javax.activation.CommandMap-
public static CommandMap DefaultCommandMap { get; set; }
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 Closeable
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
MimeTypes
public String[] MimeTypes { get; }
Property Value
- String[]
Methods
CreateDataContentHandler(String)
public DataContentHandler CreateDataContentHandler(String arg0)
Parameters
Returns
CreateDataContentHandler(String, DataSource)
public DataContentHandler CreateDataContentHandler(String arg0, DataSource arg1)
Parameters
arg0Stringarg1DataSource
Returns
GetAllCommands(String)
public CommandInfo[] GetAllCommands(String arg0)
Parameters
Returns
GetAllCommands(String, DataSource)
public CommandInfo[] GetAllCommands(String arg0, DataSource arg1)
Parameters
arg0Stringarg1DataSource
Returns
GetCommand(String, String)
public CommandInfo GetCommand(String arg0, String arg1)
Parameters
Returns
GetCommand(String, String, DataSource)
public CommandInfo GetCommand(String arg0, String arg1, DataSource arg2)
Parameters
arg0Stringarg1Stringarg2DataSource
Returns
GetPreferredCommands(String)
public CommandInfo[] GetPreferredCommands(String arg0)
Parameters
Returns
GetPreferredCommands(String, DataSource)
public CommandInfo[] GetPreferredCommands(String arg0, DataSource arg1)
Parameters
arg0Stringarg1DataSource