Class MimeType
- Namespace
- Javax.Activation
- Assembly
- MASES.JNet.dll
public class MimeType : Externalizable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IExternalizable, ISerializable
- Inheritance
-
MimeType
- Implements
- Inherited Members
- Extension Methods
Constructors
MimeType()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MimeType()
MimeType(String)
public MimeType(String arg0)
Parameters
Exceptions
MimeType(String, String)
public MimeType(String arg0, String arg1)
Parameters
Exceptions
MimeType(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MimeType(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
MimeType(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 MimeType(params object[] args)
Parameters
argsobject[]
Properties
BaseType
public String BaseType { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
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
Parameters
public MimeTypeParameterList Parameters { get; }
Property Value
PrimaryType
https://docs.oracle.com/javase/8/docs/api/javax/activation/MimeType.html#getPrimaryType-- https://docs.oracle.com/javase/8/docs/api/javax/activation/MimeType.html#setPrimaryType-java.lang.String-
public String PrimaryType { get; set; }
Property Value
SubType
https://docs.oracle.com/javase/8/docs/api/javax/activation/MimeType.html#getSubType-- https://docs.oracle.com/javase/8/docs/api/javax/activation/MimeType.html#setSubType-java.lang.String-
public String SubType { get; set; }
Property Value
Methods
GetParameter(String)
public String GetParameter(String arg0)
Parameters
Returns
Match(String)
public bool Match(String arg0)
Parameters
Returns
Exceptions
Match(MimeType)
public bool Match(MimeType arg0)
Parameters
Returns
ReadExternal(ObjectInput)
public void ReadExternal(ObjectInput arg0)
Parameters
arg0ObjectInput
Exceptions
RemoveParameter(String)
public void RemoveParameter(String arg0)
Parameters
SetParameter(String, String)
public void SetParameter(String arg0, String arg1)
Parameters
WriteExternal(ObjectOutput)
public void WriteExternal(ObjectOutput arg0)
Parameters
arg0ObjectOutput