Example usage for com.liferay.portal.kernel.util CollatorUtil getInstance

List of usage examples for com.liferay.portal.kernel.util CollatorUtil getInstance

Introduction

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

Prototype

public static Collator getInstance(Locale locale) 

Source Link

Usage

From source file:com.liferay.asset.util.AssetPublisherAddItemHolder.java

License:Open Source License

public AssetPublisherAddItemHolder(String portletId, String name, ResourceBundle resourceBundle, Locale locale,
        PortletURL portletURL) {//from  w ww  . j a v a2  s  . c  o m

    _portletId = portletId;
    _name = name;
    _locale = locale;
    _portletURL = portletURL;

    _collator = CollatorUtil.getInstance(locale);
    _modelResource = _getModelResource(resourceBundle);
}

From source file:com.liferay.asset.util.comparator.AssetRendererFactoryTypeNameComparator.java

License:Open Source License

public AssetRendererFactoryTypeNameComparator(Locale locale) {
    _locale = locale;

    _collator = CollatorUtil.getInstance(_locale);
}

From source file:com.liferay.notifications.web.internal.util.comparator.PortletIdComparator.java

License:Open Source License

public PortletIdComparator(Locale locale) {
    _locale = locale;

    _collator = CollatorUtil.getInstance(_locale);
}