Table of Contents

Class AttachmentPart

Namespace
Javax.Xml.Soap
Assembly
MASES.JNet.dll
public class AttachmentPart : JVMBridgeBase<AttachmentPart>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
AttachmentPart
Implements
Inherited Members
Extension Methods

Constructors

AttachmentPart()

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

[Obsolete("AttachmentPart 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 AttachmentPart()

AttachmentPart(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AttachmentPart(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

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

Parameters

args object[]

Properties

AllMimeHeaders

public Iterator AllMimeHeaders { get; }

Property Value

Iterator

Base64Content

public InputStream Base64Content { get; }

Property Value

InputStream

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

Content

public object Content { get; }

Property Value

object

ContentId

public String ContentId { get; set; }

Property Value

String

ContentLocation

public String ContentLocation { get; set; }

Property Value

String

ContentType

public String ContentType { get; set; }

Property Value

String

DataHandler

public DataHandler DataHandler { get; set; }

Property Value

DataHandler

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

RawContent

public InputStream RawContent { get; }

Property Value

InputStream

RawContentBytes

public byte[] RawContentBytes { get; }

Property Value

byte[]

Size

public int Size { get; }

Property Value

int

Methods

AddMimeHeader(String, String)

public void AddMimeHeader(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

ClearContent()

public void ClearContent()

GetMatchingMimeHeaders(String[])

public Iterator GetMatchingMimeHeaders(String[] arg0)

Parameters

arg0 String[]

String

Returns

Iterator

Iterator

GetMimeHeader(String)

public String[] GetMimeHeader(String arg0)

Parameters

arg0 String

String

Returns

String[]

String

GetNonMatchingMimeHeaders(String[])

public Iterator GetNonMatchingMimeHeaders(String[] arg0)

Parameters

arg0 String[]

String

Returns

Iterator

Iterator

RemoveAllMimeHeaders()

public void RemoveAllMimeHeaders()

RemoveMimeHeader(String)

public void RemoveMimeHeader(String arg0)

Parameters

arg0 String

String

SetBase64Content(InputStream, String)

public void SetBase64Content(InputStream arg0, String arg1)

Parameters

arg0 InputStream

InputStream

arg1 String

String

Exceptions

SOAPException

SetContent(object, String)

public void SetContent(object arg0, String arg1)

Parameters

arg0 object

object

arg1 String

String

SetMimeHeader(String, String)

public void SetMimeHeader(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

SetRawContent(InputStream, String)

public void SetRawContent(InputStream arg0, String arg1)

Parameters

arg0 InputStream

InputStream

arg1 String

String

Exceptions

SOAPException

SetRawContentBytes(byte[], int, int, String)

public void SetRawContentBytes(byte[] arg0, int arg1, int arg2, String arg3)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 String

String

Exceptions

SOAPException