cmu.survey
Class JSPSurveyLibInfo

java.lang.Object
  extended by cmu.survey.JSPSurveyLibInfo

public class JSPSurveyLibInfo
extends java.lang.Object


Nested Class Summary
static class JSPSurveyLibInfo.ProgramInfo
           
 
Field Summary
static java.util.Date latestVersionDate
           
static java.lang.String latestVersionString
          Checks a website for the latest known version.
static java.text.SimpleDateFormat VersionDateFormat
           
 
Constructor Summary
JSPSurveyLibInfo()
           
 
Method Summary
static java.util.Date getCurrentVersionDate()
           
static java.lang.String getHomepageRoot()
           
static java.lang.String getLatestVersion()
           
static java.util.Date getLatestVersionDate()
           
static java.lang.String getProgramInfo()
          Returns HTML description of this program and contributors, etc.
static java.lang.String getProgramName()
           
static java.lang.String getVersion()
           
static java.text.SimpleDateFormat getVersionDateFormat()
           
static java.lang.Boolean isBeforeLatestVersion()
           
static java.lang.Boolean isNewerVersionAvailable()
           
static boolean isReleaseVersion()
           
static void registerBugInfo(java.lang.String applicationName)
           
static boolean showDeveloperOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

latestVersionDate

public static java.util.Date latestVersionDate

latestVersionString

public static java.lang.String latestVersionString
Checks a website for the latest known version. Will return null if the latest version is unknown (i.e. if network is unavailable, etc.).


VersionDateFormat

public static java.text.SimpleDateFormat VersionDateFormat
Constructor Detail

JSPSurveyLibInfo

public JSPSurveyLibInfo()
Method Detail

getCurrentVersionDate

public static java.util.Date getCurrentVersionDate()

getHomepageRoot

public static java.lang.String getHomepageRoot()

getLatestVersion

public static java.lang.String getLatestVersion()

getLatestVersionDate

public static java.util.Date getLatestVersionDate()

getProgramInfo

public static java.lang.String getProgramInfo()
Returns HTML description of this program and contributors, etc.

Returns:

getProgramName

public static java.lang.String getProgramName()

getVersion

public static java.lang.String getVersion()

getVersionDateFormat

public static java.text.SimpleDateFormat getVersionDateFormat()

isBeforeLatestVersion

public static java.lang.Boolean isBeforeLatestVersion()

isNewerVersionAvailable

public static java.lang.Boolean isNewerVersionAvailable()
Returns:
null if it's unknown

isReleaseVersion

public static final boolean isReleaseVersion()

registerBugInfo

public static void registerBugInfo(java.lang.String applicationName)

showDeveloperOptions

public static final boolean showDeveloperOptions()