Package util.help

Class Topic


  • public class Topic
    extends java.lang.Object
    Created by JIBOYE Oluwagbemiro Olaoluwa on 8/5/2016.
    • Constructor Summary

      Constructors 
      Constructor Description
      Topic​(java.lang.String title, java.lang.String content)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getContent()  
      java.lang.String getTitle()  
      static Topic parseTopic​(java.lang.String json)  
      void setContent​(java.lang.String content)  
      void setTitle​(java.lang.String title)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Topic

        public Topic​(java.lang.String title,
                     java.lang.String content)
    • Method Detail

      • setContent

        public void setContent​(java.lang.String content)
      • getContent

        public java.lang.String getContent()
      • setTitle

        public void setTitle​(java.lang.String title)
      • getTitle

        public java.lang.String getTitle()
      • parseTopic

        public static Topic parseTopic​(java.lang.String json)
      • toString

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