Class LocalizedPaginator<E>

    • Constructor Detail

      • LocalizedPaginator

        public LocalizedPaginator​(List<E> list,
                                  int nItemPerPage,
                                  String strBaseUrl,
                                  String strPageIndexParameterName,
                                  String strPageIndex,
                                  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​(List<E> list,
                                  int nItemPerPage,
                                  String strBaseUrl,
                                  String strPageIndexParameterName,
                                  String strPageIndex,
                                  String strItemsPerPageParameterName,
                                  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