public class CamelFileDataSource extends FileDataSource
| Constructor and Description |
|---|
CamelFileDataSource(File file,
String fileName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
String |
getName() |
void |
setFileTypeMap(FileTypeMap map) |
getFile, getInputStream, getOutputStreampublic String getContentType()
getContentType in interface DataSourcegetContentType in class FileDataSourcepublic void setFileTypeMap(FileTypeMap map)
setFileTypeMap in class FileDataSourcepublic String getName()
getName in interface DataSourcegetName in class FileDataSourceApache Camel