public class GetTempSkinResourcesAction extends AbstractGetFilesAction
Modifier and Type | Field and Description |
---|---|
(package private) static String[] |
__IGNORED_SOURCE |
_cocoonContext
manager
EMPTY_MAP
Constructor and Description |
---|
GetTempSkinResourcesAction() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
_collection2JsonObject(TraversableSource folder,
TraversableSource root)
Convert collection to JSON object
|
protected Map<String,Object> |
_resource2JsonObject(TraversableSource file,
TraversableSource root)
Convert file to JSON object
|
protected String |
getRootURI(Request request)
Get the URI of root directory such as 'context://WEB-INF/param'
|
protected boolean |
isIgnoredSource(String fileName)
Test if the source has to be ignored
|
_getRelativePath, act, contextualize, service
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
static final String[] __IGNORED_SOURCE
public GetTempSkinResourcesAction()
protected String getRootURI(Request request)
AbstractGetFilesAction
getRootURI
in class AbstractGetFilesAction
request
- the requestprotected boolean isIgnoredSource(String fileName)
AbstractGetFilesAction
isIgnoredSource
in class AbstractGetFilesAction
fileName
- The file nameprotected Map<String,Object> _collection2JsonObject(TraversableSource folder, TraversableSource root)
AbstractGetFilesAction
_collection2JsonObject
in class AbstractGetFilesAction
folder
- the folderroot
- the root directoryprotected Map<String,Object> _resource2JsonObject(TraversableSource file, TraversableSource root)
AbstractGetFilesAction
_resource2JsonObject
in class AbstractGetFilesAction
file
- the fileroot
- the root directory