org.apache.axiom.attachments
Class CachedFileDataSource
java.lang.Object
javax.activation.FileDataSource
org.apache.axiom.attachments.CachedFileDataSource
- All Implemented Interfaces:
- javax.activation.DataSource
public class CachedFileDataSource
- extends javax.activation.FileDataSource
Methods inherited from class javax.activation.FileDataSource |
getFile, getInputStream, getName, getOutputStream, setFileTypeMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedFileDataSource
public CachedFileDataSource(File arg0)
getContentType
public String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
- Overrides:
getContentType
in class javax.activation.FileDataSource
setContentType
public void setContentType(String contentType)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.