Class AbstractVersionInfo

java.lang.Object
de.knightsoftnet.navigation.client.version.AbstractVersionInfo
All Implemented Interfaces:
VersionInfoInterface

public abstract class AbstractVersionInfo extends Object implements VersionInfoInterface
The AbstractVersionInfo class provides a view version informations.
Author:
Manfred Tremmel
  • Constructor Details

    • AbstractVersionInfo

      protected AbstractVersionInfo()
      default constructor.
  • Method Details

    • setCopyrightText

      public void setCopyrightText(String copyrightText)
    • setVersionNumber

      public void setVersionNumber(String versionNumber)
    • setVersionDate

      public void setVersionDate(String versionDate)
    • setAuthor

      public void setAuthor(String author)
    • getCopyrightText

      public final com.google.gwt.safehtml.shared.SafeHtml getCopyrightText()
      Description copied from interface: VersionInfoInterface
      get the copyright text.
      Specified by:
      getCopyrightText in interface VersionInfoInterface
      Returns:
      copyright text
    • getVersionNumber

      public final com.google.gwt.safehtml.shared.SafeHtml getVersionNumber()
      Description copied from interface: VersionInfoInterface
      get the version number.
      Specified by:
      getVersionNumber in interface VersionInfoInterface
      Returns:
      version number
    • getVersionDate

      public final com.google.gwt.safehtml.shared.SafeHtml getVersionDate()
      Description copied from interface: VersionInfoInterface
      get the version date.
      Specified by:
      getVersionDate in interface VersionInfoInterface
      Returns:
      version date
    • getAuthor

      public final com.google.gwt.safehtml.shared.SafeHtml getAuthor()
      Description copied from interface: VersionInfoInterface
      get the author.
      Specified by:
      getAuthor in interface VersionInfoInterface
      Returns:
      author
    • parseAndFormatDate

      protected final String parseAndFormatDate(String versionDate)
      parse and format a date string.
      Parameters:
      versionDate - string with date in versionDateFormat
      Returns:
      the same date formated as dateFormatDisplay