org.apache.axiom.attachments
Class CachedFileDataSource

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

public class CachedFileDataSource
extends javax.activation.FileDataSource


Constructor Summary
CachedFileDataSource(java.io.File arg0)
           
 
Method Summary
 java.lang.String getContentType()
           
 void setContentType(java.lang.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(java.io.File arg0)
Method Detail

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String contentType)


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.