Class AbstractVersionInfo
java.lang.Object
de.knightsoftnet.navigation.client.version.AbstractVersionInfo
- All Implemented Interfaces:
VersionInfoInterface
The
AbstractVersionInfo class provides a view version informations.- Author:
- Manfred Tremmel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.google.gwt.safehtml.shared.SafeHtmlget the author.final com.google.gwt.safehtml.shared.SafeHtmlget the copyright text.final com.google.gwt.safehtml.shared.SafeHtmlget the version date.final com.google.gwt.safehtml.shared.SafeHtmlget the version number.protected final StringparseAndFormatDate(String versionDate) parse and format a date string.voidvoidsetCopyrightText(String copyrightText) voidsetVersionDate(String versionDate) voidsetVersionNumber(String versionNumber)
-
Constructor Details
-
AbstractVersionInfo
protected AbstractVersionInfo()default constructor.
-
-
Method Details
-
setCopyrightText
-
setVersionNumber
-
setVersionDate
-
setAuthor
-
getCopyrightText
public final com.google.gwt.safehtml.shared.SafeHtml getCopyrightText()Description copied from interface:VersionInfoInterfaceget the copyright text.- Specified by:
getCopyrightTextin interfaceVersionInfoInterface- Returns:
- copyright text
-
getVersionNumber
public final com.google.gwt.safehtml.shared.SafeHtml getVersionNumber()Description copied from interface:VersionInfoInterfaceget the version number.- Specified by:
getVersionNumberin interfaceVersionInfoInterface- Returns:
- version number
-
getVersionDate
public final com.google.gwt.safehtml.shared.SafeHtml getVersionDate()Description copied from interface:VersionInfoInterfaceget the version date.- Specified by:
getVersionDatein interfaceVersionInfoInterface- Returns:
- version date
-
getAuthor
public final com.google.gwt.safehtml.shared.SafeHtml getAuthor()Description copied from interface:VersionInfoInterfaceget the author.- Specified by:
getAuthorin interfaceVersionInfoInterface- Returns:
- author
-
parseAndFormatDate
parse and format a date string.- Parameters:
versionDate- string with date in versionDateFormat- Returns:
- the same date formated as dateFormatDisplay
-