Package 

Class StringToPageableConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter

    
    public class StringToPageableConverter
     implements Converter<String, Pageable>
                        

    字符串到分页对象的转化器。

    • 页面从1开始。

    • 示例:"", "1", "1,10", "1,10,+name"。

    • 默认值:"1,10"。

    • Method Summary

      Modifier and Type Method Description
      Pageable convert(String string)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait