org.apache.camel.component.http4.helper
Class CamelFileDataSource

java.lang.Object
  extended by javax.activation.FileDataSource
      extended by org.apache.camel.component.http4.helper.CamelFileDataSource
All Implemented Interfaces:
DataSource

public class CamelFileDataSource
extends FileDataSource


Constructor Summary
CamelFileDataSource(File file, String fileName)
           
 
Method Summary
 String getContentType()
           
 String getName()
           
 void setFileTypeMap(FileTypeMap map)
           
 
Methods inherited from class javax.activation.FileDataSource
getFile, getInputStream, getOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelFileDataSource

public CamelFileDataSource(File file,
                           String fileName)
Method Detail

getContentType

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

setFileTypeMap

public void setFileTypeMap(FileTypeMap map)
Overrides:
setFileTypeMap in class FileDataSource

getName

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


Apache CAMEL