org.apache.axiom.attachments
Class CachedFileDataSource

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

public class CachedFileDataSource
extends FileDataSource


Field Summary
protected static org.apache.commons.logging.Log log
           
 
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
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

CachedFileDataSource

public CachedFileDataSource(File arg0)
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface DataSource
Overrides:
getContentType in class FileDataSource

setContentType

public void setContentType(String contentType)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.