org.apache.axis.attachments
Class AttachmentUtils
java.lang.Object
org.apache.axis.attachments.AttachmentUtils
public class AttachmentUtils
extends java.lang.Object
This class allow access to the Jaf data handler in AttachmentPart.
getActivationDataHandler
public static DataHandler getActivationDataHandler(Part part)
throws AxisFault
Obtain the DataHandler from the part.
part
- the part containing the Java Activiation Framework data source.
- The Java activation data handler.
isAttachment
public static boolean isAttachment(Object value)
Determine if an object is to be treated as an attchment.
value
- the value that is to be determined if
its an attachment.
- True if value should be treated as an attchment.
Copyright © 2005 Apache Web Services Project. All Rights Reserved.