public class AttachmentUtils extends Object
Modifier and Type | Method and Description |
---|---|
static 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.
|
public static DataHandler getActivationDataHandler(Part part) throws AxisFault
part
- the part containing the Java Activiation Framework data source.AxisFault
public static boolean isAttachment(Object value)
value
- the value that is to be determined if
its an attachment.Copyright © The Apache Software Foundation. All Rights Reserved.