public interface IStaticContainer
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ContentContext ctx,
String uri)
check if the class contains the static resources define by a URI
|
Collection<Resource> |
getAllResources(ContentContext ctx)
return all resources found in the component.
|
Collection<Link> |
getAllResourcesLinks(ContentContext ctx)
create link to resources.
|
String |
getDirSelected()
get folder with ressources
|
List<File> |
getFiles(ContentContext ctx) |
int |
getPopularity(ContentContext ctx)
return indice of popularity
|
boolean |
renameResource(ContentContext ctx,
File oldName,
File newName)
rename a resource
|
void |
setDirSelected(String dir)
set folder with resources
|
boolean contains(ContentContext ctx, String uri)
uri
- a uri to a static resourcesCollection<Resource> getAllResources(ContentContext ctx)
boolean renameResource(ContentContext ctx, File oldName, File newName)
oldName
- newName
- Collection<Link> getAllResourcesLinks(ContentContext ctx)
int getPopularity(ContentContext ctx)
ctx
- void setDirSelected(String dir)
dir
- String getDirSelected()
List<File> getFiles(ContentContext ctx)
Copyright © 2012-2018. All Rights Reserved.