public class AttachmentUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static javax.activation.DataHandler |
getActivationDataHandler(Part part)
Obtain the DataHandler from the part.
|
static boolean |
isAttachment(java.lang.Object value)
Determine if an object is to be treated as an attchment.
|
public static javax.activation.DataHandler getActivationDataHandler(Part part) throws AxisFault
part
- the part containing the Java Activiation Framework data source.AxisFault
public static boolean isAttachment(java.lang.Object value)
value
- the value that is to be determined if
its an attachment.Copyright © 2005 Apache Web Services Project. All Rights Reserved.