|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceBundlingService
This service is responsible for interaction with the ResourceBundleProcessor to generate
versioned names for bundles as well as the bundle content.
| Method Summary | |
|---|---|
List<String> |
getAdditionalBundleFiles(String bundleName)
|
org.springframework.core.io.Resource |
getBundle(String versionedBundleName)
For the given versioned bundle name, returns a Resource that holds the contents of the combined, and possibly minified (if enabled) bundle. |
String |
getVersionedBundleName(String unversionedBundleName)
For a given unversioned bundle name, such as "global.js", returns the currently known versioned bundle name, such as "global12345.js". |
boolean |
hasBundle(String versionedBundle)
|
String |
registerBundle(String bundleName,
List<String> files,
BroadleafResourceHttpRequestHandler handler)
Registers a new bundle with the given name to its files. |
| Method Detail |
|---|
org.springframework.core.io.Resource getBundle(String versionedBundleName)
versionedBundleName -
String getVersionedBundleName(String unversionedBundleName)
unversionedBundleName -
String registerBundle(String bundleName,
List<String> files,
BroadleafResourceHttpRequestHandler handler)
throws IOException
bundleName - files - handler -
IOExceptionboolean hasBundle(String versionedBundle)
versionedBundle -
List<String> getAdditionalBundleFiles(String bundleName)
bundleName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||