public class SkinResourceReader extends ServiceableReader
Modifier and Type | Field and Description |
---|---|
private Collection<String> |
_allowedFormats |
protected FileSource |
_file
The file source
|
private int |
_height |
private int |
_maxHeight |
private int |
_maxWidth |
private boolean |
_readForDownload |
protected SourceResolver |
_srcResolver
The source resolver
|
private int |
_width |
manager
objectModel, out, parameters, resolver, source
Constructor and Description |
---|
SkinResourceReader() |
Modifier and Type | Method and Description |
---|---|
private String |
_decodePath(String path) |
private Source |
_getSource(String skinName,
String path) |
void |
generate() |
void |
service(ServiceManager smanager) |
void |
setup(SourceResolver res,
Map objModel,
String src,
Parameters par) |
getLastModified, getMimeType, recycle, setOutputStream, shouldSetContentLength
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected SourceResolver _srcResolver
protected FileSource _file
private boolean _readForDownload
private int _width
private int _height
private int _maxWidth
private int _maxHeight
private Collection<String> _allowedFormats
public SkinResourceReader()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableReader
ServiceException
public void setup(SourceResolver res, Map objModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
setup
in interface SitemapModelComponent
setup
in class AbstractReader
ProcessingException
SAXException
IOException
public void generate() throws IOException, SAXException, ProcessingException
private Source _getSource(String skinName, String path) throws IOException
IOException
private String _decodePath(String path) throws UnsupportedEncodingException
UnsupportedEncodingException