Package util.help

Class Topic

  • All Implemented Interfaces:
    Savable, java.io.Serializable

    public class Topic
    extends java.lang.Object
    implements Savable
    Created by JIBOYE Oluwagbemiro Olaoluwa on 8/5/2016.
    See Also:
    Serialized Form
    • 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 enc)  
      java.lang.String serialize()  
      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 enc)
      • serialize

        public java.lang.String serialize()
        Specified by:
        serialize in interface Savable
      • toString

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