Table of Contents

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

arg0 String

String

Exceptions

MimeTypeParseException

MimeType(String, String)

public MimeType(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

MimeTypeParseException

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

initializer IJVMBridgeBaseInitializer

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

args object[]

Properties

BaseType

public String BaseType { get; }

Property Value

String

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Parameters

public MimeTypeParameterList Parameters { get; }

Property Value

MimeTypeParameterList

PrimaryType

public String PrimaryType { get; set; }

Property Value

String

SubType

public String SubType { get; set; }

Property Value

String

Methods

GetParameter(String)

public String GetParameter(String arg0)

Parameters

arg0 String

String

Returns

String

String

Match(String)

public bool Match(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

MimeTypeParseException

Match(MimeType)

public bool Match(MimeType arg0)

Parameters

arg0 MimeType

MimeType

Returns

bool

bool

ReadExternal(ObjectInput)

public void ReadExternal(ObjectInput arg0)

Parameters

arg0 ObjectInput

ObjectInput

Exceptions

IOException
ClassNotFoundException

RemoveParameter(String)

public void RemoveParameter(String arg0)

Parameters

arg0 String

String

SetParameter(String, String)

public void SetParameter(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

WriteExternal(ObjectOutput)

public void WriteExternal(ObjectOutput arg0)

Parameters

arg0 ObjectOutput

ObjectOutput

Exceptions

IOException