com.javaflair.pokerprophesier.api.helper
Class UpdateHelper

java.lang.Object
  extended by com.javaflair.pokerprophesier.api.helper.UpdateHelper

public class UpdateHelper
extends Object

A helper which can be queried to determine whether this Poker Prophesier installation is current. The update details are automatically retrieved from the Poker Prophesier website.

The helper can not be instantiated directly, rather a reference must be retrieved from the PokerProphesierAdapter adapter.

Author:
Javaflair
See Also:
PokerProphesierAdapter, PokerProphesierAdapter.getUpdateHelper()

Method Summary
 String getUpdateDescription()
          Returns the update description.
 String getUpdateDownloadUrl()
          Returns the update download URL.
 int getUpdateMajorVersion()
          Returns the update major version.
 int getUpdateMinorVersion()
          Returns the update minor version.
 String getUpdateName()
          Returns the update name.
 int getUpdatePatchVersion()
          Returns the update patch version.
 String getUpdateReleaseDate()
          Returns the update release date.
 String getUpdateText()
          Returns the update text.
 boolean isVersionCurrent()
          Returns a boolean indicating whether this version of the simulator is currrent.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isVersionCurrent

public boolean isVersionCurrent()
Returns a boolean indicating whether this version of the simulator is currrent.

Returns:
true if the version is current; false if not

getUpdateName

public String getUpdateName()
Returns the update name.

Returns:
the update name

getUpdateDescription

public String getUpdateDescription()
Returns the update description.

Returns:
the update description

getUpdateText

public String getUpdateText()
Returns the update text.

Returns:
the update text

getUpdateReleaseDate

public String getUpdateReleaseDate()
Returns the update release date.

Returns:
the update release date

getUpdateDownloadUrl

public String getUpdateDownloadUrl()
Returns the update download URL.

Returns:
the update download URL

getUpdateMajorVersion

public int getUpdateMajorVersion()
Returns the update major version.

Returns:
the update major version

getUpdateMinorVersion

public int getUpdateMinorVersion()
Returns the update minor version.

Returns:
the update minor version

getUpdatePatchVersion

public int getUpdatePatchVersion()
Returns the update patch version.

Returns:
the update patch version

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006 Javaflair. All Rights Reserved.