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, setFileTypeMap
public CachedFileDataSource(File arg0)
public String getContentType()
getContentType
in interface DataSource
getContentType
in class FileDataSource
public void setContentType(String contentType)
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.