org.apache.axiom.attachments
Class CachedFileDataSource

java.lang.Object
  extended by javax.activation.FileDataSource
      extended by org.apache.axiom.attachments.CachedFileDataSource
All Implemented Interfaces:
javax.activation.DataSource

public class CachedFileDataSource
extends javax.activation.FileDataSource


Constructor Summary
CachedFileDataSource(File arg0)
           
 
Method Summary
 String getContentType()
           
 void setContentType(String contentType)
           
 
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
 

Constructor Detail

CachedFileDataSource

public CachedFileDataSource(File arg0)
Method Detail

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.