public class CachedFileDataSource extends FileDataSource
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
CachedFileDataSource(File arg0) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
void |
setContentType(String contentType) |
getFile, getInputStream, getName, getOutputStream, setFileTypeMappublic CachedFileDataSource(File arg0)
public String getContentType()
getContentType in interface DataSourcegetContentType in class FileDataSourcepublic void setContentType(String contentType)
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.