org.apache.axis.attachments
Class DimeBodyPart

java.lang.Object
  extended byorg.apache.axis.attachments.DimeBodyPart

public class DimeBodyPart
extends java.lang.Object

Holds one attachment DIME part.


Constructor Summary
DimeBodyPart(byte[] data, DimeTypeNameFormat format, java.lang.String type, java.lang.String id)
          Create a DIME Attachment Part.
DimeBodyPart(javax.activation.DataHandler dh, DimeTypeNameFormat format, java.lang.String type, java.lang.String id)
          Create a DIME Attachment Part.
DimeBodyPart(javax.activation.DataHandler dh, java.lang.String id)
          Create a DIME Attachment Part.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimeBodyPart

public DimeBodyPart(byte[] data,
                    DimeTypeNameFormat format,
                    java.lang.String type,
                    java.lang.String id)
Create a DIME Attachment Part.

Parameters:
data - a byte array containing the data as the attachment.
format - the type format for the data.
type - the type of the data
id - the ID for the DIME part.

DimeBodyPart

public DimeBodyPart(javax.activation.DataHandler dh,
                    DimeTypeNameFormat format,
                    java.lang.String type,
                    java.lang.String id)
Create a DIME Attachment Part.

Parameters:
dh - the data for the attachment as a JAF datahadler.
format - the type format for the data.
type - the type of the data
id - the ID for the DIME part.

DimeBodyPart

public DimeBodyPart(javax.activation.DataHandler dh,
                    java.lang.String id)
Create a DIME Attachment Part.

Parameters:
dh - the data for the attachment as a JAF datahadler. The type and foramt is derived from the DataHandler.
id - the ID for the DIME part.


Copyright © 2003 Apache Web Services Project. A ll Rights Reserved.