org.apache.camel.component.http.helper
Class CamelFileDataSource
java.lang.Object
javax.activation.FileDataSource
org.apache.camel.component.http.helper.CamelFileDataSource
- All Implemented Interfaces:
- DataSource
public class CamelFileDataSource
- extends FileDataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelFileDataSource
public CamelFileDataSource(File file,
String fileName)
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