Package org.javlo.ztatic
Class ResourceFactory
- java.lang.Object
-
- org.javlo.ztatic.ResourceFactory
-
public class ResourceFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ResourceFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCache()
static ResourceFactory
getInstance(ContentContext ctx)
Collection<StaticInfo>
getResources(ContentContext ctx)
StaticInfo
getStaticInfo(ContentContext ctx, StaticInfo.ReferenceBean ref)
void
update(ContentContext ctx, StaticInfo staticInfo)
-
-
-
Method Detail
-
getInstance
public static ResourceFactory getInstance(ContentContext ctx)
-
getResources
public Collection<StaticInfo> getResources(ContentContext ctx) throws Exception
- Throws:
Exception
-
getStaticInfo
public StaticInfo getStaticInfo(ContentContext ctx, StaticInfo.ReferenceBean ref) throws Exception
- Throws:
Exception
-
clearCache
public void clearCache()
-
update
public void update(ContentContext ctx, StaticInfo staticInfo) throws Exception
- Throws:
Exception
-
-