Class News163

  • All Implemented Interfaces:
    MultiPageModel

    public class News163
    extends java.lang.Object
    implements MultiPageModel
    Author:
    code4crafter@gmail.com
    • Constructor Summary

      Constructors 
      Constructor Description
      News163()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MultiPageModel combine​(MultiPageModel multiPageModel)
      Combine multiPageModels to a whole object.
      java.util.Collection<java.lang.String> getOtherPages()
      other pages to be extracted.
      It is used to judge whether an object contains more than one page, and whether the pages of the object are all extracted.
      java.lang.String getPage()
      page is the identifier of a page in pages for one object.
      java.lang.String getPageKey()
      Page key is the identifier for the object.
      static void main​(java.lang.String[] args)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • News163

        public News163()
    • Method Detail

      • getPageKey

        public java.lang.String getPageKey()
        Description copied from interface: MultiPageModel
        Page key is the identifier for the object.
        Specified by:
        getPageKey in interface MultiPageModel
        Returns:
        page key
      • getOtherPages

        public java.util.Collection<java.lang.String> getOtherPages()
        Description copied from interface: MultiPageModel
        other pages to be extracted.
        It is used to judge whether an object contains more than one page, and whether the pages of the object are all extracted.
        Specified by:
        getOtherPages in interface MultiPageModel
        Returns:
        other pages
      • getPage

        public java.lang.String getPage()
        Description copied from interface: MultiPageModel
        page is the identifier of a page in pages for one object.
        Specified by:
        getPage in interface MultiPageModel
        Returns:
        page
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • main

        public static void main​(java.lang.String[] args)