Class LocalizedPaginator<E>

  • Type Parameters:
    E - Item of the list
    All Implemented Interfaces:
    IPaginator<E>, java.io.Serializable

    public class LocalizedPaginator<E>
    extends Paginator<E>
    Localized Paginator
    See Also:
    Serialized Form
    • Constructor Detail

      • LocalizedPaginator

        public LocalizedPaginator​(java.util.List<E> list,
                                  int nItemPerPage,
                                  java.lang.String strBaseUrl,
                                  java.lang.String strPageIndexParameterName,
                                  java.lang.String strPageIndex,
                                  java.util.Locale locale)
        Creates a new instance of Paginator
        Parameters:
        list - The collection to paginate
        nItemPerPage - Number of items to display per page
        strBaseUrl - The base Url for build links on each page link
        strPageIndexParameterName - The parameter name for the page index
        strPageIndex - The current page index
        locale - The Locale
      • LocalizedPaginator

        public LocalizedPaginator​(java.util.List<E> list,
                                  int nItemPerPage,
                                  java.lang.String strBaseUrl,
                                  java.lang.String strPageIndexParameterName,
                                  java.lang.String strPageIndex,
                                  java.lang.String strItemsPerPageParameterName,
                                  java.util.Locale locale)
        Creates a new instance of Paginator
        Parameters:
        list - The collection to paginate
        nItemPerPage - Number of items to display per page
        strBaseUrl - The base Url for build links on each page link
        strPageIndexParameterName - The parameter name for the page index
        strPageIndex - The current page index
        strItemsPerPageParameterName - The parameter name of the number items per page
        locale - The Locale