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 |
managerobjectModel, 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, shouldSetContentLengthenableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected 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 Serviceableservice in class ServiceableReaderServiceExceptionpublic void setup(SourceResolver res, Map objModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
setup in interface SitemapModelComponentsetup in class AbstractReaderProcessingExceptionSAXExceptionIOExceptionpublic void generate() throws IOException, SAXException, ProcessingException
private Source _getSource(String skinName, String path) throws IOException
IOExceptionprivate String _decodePath(String path) throws UnsupportedEncodingException
UnsupportedEncodingException