Example usage for com.liferay.portal.util JavaScriptBundleUtil getFileNames

List of usage examples for com.liferay.portal.util JavaScriptBundleUtil getFileNames

Introduction

In this page you can find the example usage for com.liferay.portal.util JavaScriptBundleUtil getFileNames.

Prototype

public static String[] getFileNames(String bundleId) 

Source Link

Usage

From source file:com.liferay.frontend.js.top.head.extender.internal.servlet.taglib.TopHeadDynamicInclude.java

License:Open Source License

private void _addPortalBundles(List<String> urls, String propsKey) {
    String[] fileNames = JavaScriptBundleUtil.getFileNames(propsKey);

    for (String fileName : fileNames) {
        urls.add(_jsContextPath + StringPool.SLASH + fileName);
    }/*from   ww w  .  j  av a  2  s. com*/
}