|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceCollection
Collection of resources that are associated with a Bundle
. Returned by
Bundle.getResourceCollections()
. The resource is an aggregation of all files found in
BundleConfig.files()
and all dependencies discovered looking for @ requires
tags. The collection
is specifically an aggregation only of the discovered javascript and css.
Method Summary | |
---|---|
Resource |
getCompressedCss()
Returns a resource that is the compressed version of the getCss() . |
Resource |
getCompressedJs()
Returns a resource that is the compressed version of the getJs() . |
byte[] |
getCss()
Returns the dependent css files, concatenated in dependency order. |
List<Resource> |
getExistingCssAggregates()
Returns the discovered dependent css files that actually exists (doesn't return -1 for Resource.getLastModified() ). |
List<Resource> |
getExistingJsAggregates()
Returns the discovered dependent javascript files that actually exists (doesn't return -1 for Resource.getLastModified() ). |
byte[] |
getJs()
Returns the dependent javascript files, concatenated in dependency order. |
Methods inherited from interface fnug.resource.AggregatedResource |
---|
getAggregates, getBasePath, getDependencies |
Methods inherited from interface fnug.resource.Resource |
---|
checkModified, findRequiresTags, getBytes, getContentType, getFullPath, getLastModified, getPath, isCss, isJs |
Methods inherited from interface fnug.resource.HasBundle |
---|
getBundle |
Method Detail |
---|
byte[] getJs()
Resource.getBytes()
on the resource.
byte[] getCss()
Resource getCompressedJs()
getJs()
.
Resource getCompressedCss()
getCss()
.
List<Resource> getExistingJsAggregates()
Resource.getLastModified()
).
List<Resource> getExistingCssAggregates()
Resource.getLastModified()
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |