站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

AttachmentUtils (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.attachments
Class AttachmentUtils

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

public class AttachmentUtils
extends Object

This class allow access to the Jaf data handler in AttachmentPart. * * @author Rick Rineholt


Method Summary
static javax.activation.DataHandler getActivationDataHandler(Part part)
          Obtain the DataHandler from the part.
static boolean isAttachment(Object value)
          Determine if an object is to be treated as an attchment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getActivationDataHandler

public static javax.activation.DataHandler getActivationDataHandler(Part part)
                                                             throws AxisFault
Obtain the DataHandler from the part. * * @param part the part containing the Java Activiation Framework data source. * @return The Java activation data handler. * @throws AxisFault

Throws:
AxisFault

isAttachment

public static boolean isAttachment(Object value)
Determine if an object is to be treated as an attchment. * * @param value the value that is to be determined if * its an attachment. * @return True if value should be treated as an attchment.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.