|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.infoservice.AbstractDatabaseEntry
anon.infoservice.AbstractDistributableDatabaseEntry
anon.infoservice.JAPVersionInfo
public class JAPVersionInfo
This stores the version information about the current JAP release or development version.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
|---|
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials |
| Field Summary | |
|---|---|
static java.lang.String |
ID_BETA
|
static java.lang.String |
ID_STABLE
|
static int |
JAP_DEVELOPMENT_VERSION
Describes a JAP development version. |
static int |
JAP_RELEASE_VERSION
Describes a JAP release version. |
| Fields inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
|---|
XML_ATTR_LAST_UPDATE, XML_ATTR_SERIAL, XML_ATTR_VALID, XML_ATTR_VERIFIED |
| Fields inherited from class anon.infoservice.AbstractDatabaseEntry |
|---|
XML_LAST_UPDATE |
| Fields inherited from interface anon.infoservice.IDistributable |
|---|
FIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRING |
| Fields inherited from interface anon.util.IXMLEncodable |
|---|
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION |
| Constructor Summary | |
|---|---|
JAPVersionInfo(org.w3c.dom.Element a_jnlpRootNode,
int a_versionInfoType)
Creates a new JAP version info out of a JNLP file. |
|
| Method Summary | |
|---|---|
java.net.URL |
getCodeBase()
Returns the URL of the server, where the corresponding JAP software can be downloaded from. |
java.util.Date |
getDate()
Returns the release date of the JAP software described in this version info structure. |
java.lang.String |
getId()
Returns the ID of this version information. |
java.lang.String |
getJAPJarFileName()
Returns the filename of the JAP file on the download server. |
java.lang.String |
getJapVersion()
Returns the JAP software version described by this version info structure. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
java.lang.String |
getPostFile()
This returns the filename (InfoService command), where this JAPVersionInfo entry is posted at other InfoServices. |
static JAPVersionInfo |
getRecommendedUpdate(java.lang.String a_currentVersion,
boolean a_bStable)
|
java.lang.String |
getSupportedJavaVersion()
|
long |
getVersionNumber()
Returns the time when this version information was created by the root-of-update-information infoservice. |
static java.lang.String |
getXmlElementName()
Returns the name of the XML root element used by this class. |
org.w3c.dom.Element |
getXmlStructure()
Returns the XML structure for this version info entry. |
boolean |
isJavaVersionStillSupported()
|
| Methods inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
|---|
getHttpRequestString, getHttpSerialsRequestString, getPostData, getPostEncoding, toXmlElement |
| Methods inherited from class anon.infoservice.AbstractDatabaseEntry |
|---|
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID_BETA
public static final java.lang.String ID_STABLE
public static final int JAP_RELEASE_VERSION
public static final int JAP_DEVELOPMENT_VERSION
| Constructor Detail |
|---|
public JAPVersionInfo(org.w3c.dom.Element a_jnlpRootNode,
int a_versionInfoType)
throws java.lang.Exception
a_jnlpRootNode - The root node of the JNLP document.a_versionInfoType - The type of the JAPVersionInfo (release / development), see the
constants in this class.
java.lang.Exception| Method Detail |
|---|
public static java.lang.String getXmlElementName()
public static JAPVersionInfo getRecommendedUpdate(java.lang.String a_currentVersion,
boolean a_bStable)
public boolean isJavaVersionStillSupported()
public java.lang.String getSupportedJavaVersion()
public java.lang.String getId()
getId in interface IDistributablegetId in class AbstractDatabaseEntrypublic long getVersionNumber()
getVersionNumber in class AbstractDatabaseEntrypublic long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate in class AbstractDatabaseEntrypublic java.lang.String getJapVersion()
public java.util.Date getDate()
public java.net.URL getCodeBase()
public java.lang.String getJAPJarFileName()
public java.lang.String getPostFile()
public org.w3c.dom.Element getXmlStructure()
getXmlStructure in class AbstractDistributableDatabaseEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||