Class ChangelogContentParser

  • All Implemented Interfaces:
    java.io.Serializable

    public class ChangelogContentParser
    extends jptools.parser.StringParser
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char NEWLINE
      The newline
      • Fields inherited from class jptools.parser.StringParser

        BLANK, BLANK_STRING, NULL
      • Fields inherited from class jptools.parser.Parser

        VERSION
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangelogContentParser()
      Constructor for ChangelogParser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(java.lang.String data)  
      void init​(jptools.util.ByteArray data)  
      java.lang.String readChangelogSeparator()
      Read the changelog separator
      java.lang.String readChangelogText()
      Read the description
      java.lang.String readDate()
      Read the date
      java.lang.String readDescription()
      Read the description
      java.lang.String readEOL()
      Read until end of line.
      java.lang.String readHeaderEnd()
      Read the header end
      java.lang.Character readHeaderSeparator()
      Read the header separator.
      java.util.List<java.lang.String> readItems()
      Read section items
      java.lang.String readVersion()
      Read the version
      • Methods inherited from class jptools.parser.StringParser

        getLogger, isCharacter, isDigit, readAndTestNextCharacter, readAndTestNextNumber, readBlanks, readId, readId, readNextCharacter, readNextNumbers, readText, readText, readTextSeparator, testString
      • Methods inherited from class jptools.parser.ByteParser

        readAndTestNextByte, readBytes
      • Methods inherited from class jptools.parser.Parser

        addLine, addStopBytes, addStopBytes, afterInit, beforeInit, getCurrentByte, getData, getLineNumber, getLogInformation, getNumOfIgnoredBytes, getParsedData, getPosition, getProgressMonitor, getRestData, getStopBytes, increaseIgnoreByte, increaseIgnoreByte, init, init, isEOL, isPartOf, isPartOf, isStopByte, isVerboseMode, log, log, logParseError, lookAhead, lookAhead, pushBack, pushBack, readBytes, readBytes, readNext, readNext, readSeparator, readSeparator, removeStopBytes, removeStopBytes, resetPosition, searchFromPosition, setCursorPosition, setEOL, setLogInformation, setProgressMonitor, setStopBytes, setVerboseMode, startsWith, toString
      • Methods inherited from class java.lang.Object

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

      • ChangelogContentParser

        public ChangelogContentParser()
        Constructor for ChangelogParser
    • Method Detail

      • init

        public void init​(java.lang.String data)
        Overrides:
        init in class jptools.parser.StringParser
        See Also:
        StringParser.init(java.lang.String)
      • init

        public void init​(jptools.util.ByteArray data)
        Overrides:
        init in class jptools.parser.Parser
        See Also:
        Parser.init(jptools.util.ByteArray)
      • readVersion

        public java.lang.String readVersion()
        Read the version
        Returns:
        the version
      • readDate

        public java.lang.String readDate()
        Read the date
        Returns:
        the date
      • readHeaderEnd

        public java.lang.String readHeaderEnd()
        Read the header end
        Returns:
        the header end
      • readDescription

        public java.lang.String readDescription()
        Read the description
        Returns:
        the description
      • readHeaderSeparator

        public java.lang.Character readHeaderSeparator()
        Read the header separator.
        Returns:
        the read separator
      • readEOL

        public java.lang.String readEOL()
        Read until end of line.
        Returns:
        the content
      • readChangelogSeparator

        public java.lang.String readChangelogSeparator()
        Read the changelog separator
        Returns:
        the changelog separator
      • readItems

        public java.util.List<java.lang.String> readItems()
        Read section items
        Returns:
        the section item
      • readChangelogText

        public java.lang.String readChangelogText()
        Read the description
        Returns:
        the description