Class AttachmentPart
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
initializerIJVMBridgeBaseInitializer
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
argsobject[]
Properties
AllMimeHeaders
public Iterator AllMimeHeaders { get; }
Property Value
Base64Content
public InputStream Base64Content { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Content
public object Content { get; }
Property Value
ContentId
https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#getContentId-- https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#setContentId-java.lang.String-
public String ContentId { get; set; }
Property Value
ContentLocation
https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#getContentLocation-- https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#setContentLocation-java.lang.String-
public String ContentLocation { get; set; }
Property Value
ContentType
https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#getContentType-- https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#setContentType-java.lang.String-
public String ContentType { get; set; }
Property Value
DataHandler
https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#getDataHandler-- https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/AttachmentPart.html#setDataHandler-javax.activation.DataHandler-
public DataHandler DataHandler { 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
RawContent
public InputStream RawContent { get; }
Property Value
RawContentBytes
public byte[] RawContentBytes { get; }
Property Value
- byte[]
Size
public int Size { get; }
Property Value
Methods
AddMimeHeader(String, String)
public void AddMimeHeader(String arg0, String arg1)
Parameters
ClearContent()
public void ClearContent()
GetMatchingMimeHeaders(String[])
public Iterator GetMatchingMimeHeaders(String[] arg0)
Parameters
Returns
GetMimeHeader(String)
public String[] GetMimeHeader(String arg0)
Parameters
Returns
GetNonMatchingMimeHeaders(String[])
public Iterator GetNonMatchingMimeHeaders(String[] arg0)
Parameters
Returns
RemoveAllMimeHeaders()
public void RemoveAllMimeHeaders()
RemoveMimeHeader(String)
public void RemoveMimeHeader(String arg0)
Parameters
SetBase64Content(InputStream, String)
public void SetBase64Content(InputStream arg0, String arg1)
Parameters
arg0InputStreamarg1String
Exceptions
SetContent(object, String)
public void SetContent(object arg0, String arg1)
Parameters
SetMimeHeader(String, String)
public void SetMimeHeader(String arg0, String arg1)
Parameters
SetRawContent(InputStream, String)
public void SetRawContent(InputStream arg0, String arg1)
Parameters
arg0InputStreamarg1String
Exceptions
SetRawContentBytes(byte[], int, int, String)
public void SetRawContentBytes(byte[] arg0, int arg1, int arg2, String arg3)