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, getOutputStream
public String getContentType()
getContentType
in interface DataSource
getContentType
in class FileDataSource
public void setFileTypeMap(FileTypeMap map)
setFileTypeMap
in class FileDataSource
public String getName()
getName
in interface DataSource
getName
in class FileDataSource
Apache Camel