Example usage for com.liferay.portal.kernel.util PropsKeys DL_FILE_GENERIC_EXTENSIONS

List of usage examples for com.liferay.portal.kernel.util PropsKeys DL_FILE_GENERIC_EXTENSIONS

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util PropsKeys DL_FILE_GENERIC_EXTENSIONS.

Prototype

String DL_FILE_GENERIC_EXTENSIONS

To view the source code for com.liferay.portal.kernel.util PropsKeys DL_FILE_GENERIC_EXTENSIONS.

Click Source Link

Usage

From source file:com.liferay.portlet.documentlibrary.util.DLImpl.java

License:Open Source License

private static void _populateGenericNamesMap(String genericName) {
    String[] extensions = PropsUtil.getArray(PropsKeys.DL_FILE_GENERIC_EXTENSIONS, new Filter(genericName));

    for (String extension : extensions) {
        _genericNames.put(extension, genericName);
    }/*from  ww w  .  j  a v  a 2  s.  c o  m*/
}