|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.infoservice.AbstractDatabaseEntry anon.infoservice.AbstractDistributableDatabaseEntry anon.infoservice.JavaVersionDBEntry
public class JavaVersionDBEntry
Stores information about the latest java version of a specific vendor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class anon.infoservice.AbstractDistributableDatabaseEntry |
---|
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials |
Field Summary | |
---|---|
static java.lang.String |
CURRENT_JAVA_VENDOR
|
static java.lang.String |
CURRENT_JAVA_VERSION
|
static java.lang.String |
HTTP_REQUEST_STRING
|
static java.lang.String |
HTTP_SERIALS_REQUEST_STRING
|
private boolean |
m_bForce
|
private java.net.URL |
m_downloadURL
|
private java.lang.String |
m_lastSupportedVersion
|
private long |
m_lastUpdate
|
private java.lang.String |
m_latestVersion
|
private java.lang.String |
m_vendor
|
private java.lang.String |
m_vendorLongName
|
private java.lang.String |
m_versionName
|
private org.w3c.dom.Element |
m_xmlDescription
Stores the XML representation of this DBEntry. |
private static java.lang.String |
OS_NAME
|
static java.lang.String |
PROPERTY_NAME
|
private static long |
TIMEOUT
|
static java.lang.String |
VENDOR_ID_BLACKDOWN_JAVA
|
static java.lang.String |
VENDOR_ID_SUN_JAVA
|
private static java.lang.String[] |
VENDOR_IDS
|
private static java.lang.String |
XML_ATTR_FORCE
|
private static java.lang.String |
XML_ATTR_OPERATING_SYSTEM
|
private static java.lang.String |
XML_ATTR_SUPPORT_FROM_VERSION
|
private static java.lang.String |
XML_ATTR_VENDOR
|
private static java.lang.String |
XML_ATTR_VERSION_NAME
|
private static java.lang.String |
XML_ELEM_DOWNLOAD_URL
|
private static java.lang.String |
XML_ELEM_LAST_UPDATE
|
private static java.lang.String |
XML_ELEM_VENDOR_LONG
|
private static java.lang.String |
XML_ELEM_VERSION
|
static java.lang.String |
XML_ELEMENT_CONTAINER_NAME
|
static java.lang.String |
XML_ELEMENT_NAME
|
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 | |
---|---|
JavaVersionDBEntry(org.w3c.dom.Element a_xmlElement)
|
Method Summary | |
---|---|
private static boolean |
checkVendor(java.lang.String a_vendorId)
|
java.net.URL |
getDownloadURL()
Returns the URL where this Java version is available. |
java.lang.String |
getId()
Returns the vendor ID. |
java.lang.String |
getJREVersion()
Returns the latest known version number of the JRE from this vendor. |
java.lang.String |
getJREVersionName()
Returns the public human readable name for this JRE version. |
java.lang.String |
getLastSupportedJREVersion()
|
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
static JavaVersionDBEntry |
getNewJavaVersion()
|
java.lang.String |
getPostFile()
Returns the HTTP_REQUEST_STRING. |
java.lang.String |
getVendor()
Returns the vendor ID. |
java.lang.String |
getVendorLongName()
Returns a more detailed vendor name. |
long |
getVersionNumber()
Returns version number which is used to determine the more recent infoservice entry, if two entries are compared (higher version number -> more recent entry). |
org.w3c.dom.Element |
getXmlStructure()
Returns the XML structure for this db entry. |
boolean |
isJavaNoMoreSupported()
|
private boolean |
isJavaOK(boolean a_bCheckStillSupported)
|
boolean |
isJavaTooOld()
|
boolean |
isUpdateForced()
|
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 CURRENT_JAVA_VENDOR
public static final java.lang.String CURRENT_JAVA_VERSION
public static final java.lang.String HTTP_REQUEST_STRING
public static final java.lang.String HTTP_SERIALS_REQUEST_STRING
public static final java.lang.String PROPERTY_NAME
public static final java.lang.String VENDOR_ID_SUN_JAVA
public static final java.lang.String VENDOR_ID_BLACKDOWN_JAVA
public static final java.lang.String XML_ELEMENT_NAME
public static final java.lang.String XML_ELEMENT_CONTAINER_NAME
private static final java.lang.String OS_NAME
private static final java.lang.String XML_ATTR_SUPPORT_FROM_VERSION
private static final java.lang.String XML_ATTR_VENDOR
private static final java.lang.String XML_ATTR_OPERATING_SYSTEM
private static final java.lang.String XML_ELEM_VERSION
private static final java.lang.String XML_ATTR_VERSION_NAME
private static final java.lang.String XML_ATTR_FORCE
private static final java.lang.String XML_ELEM_DOWNLOAD_URL
private static final java.lang.String XML_ELEM_VENDOR_LONG
private static final java.lang.String XML_ELEM_LAST_UPDATE
private static final java.lang.String[] VENDOR_IDS
private static final long TIMEOUT
private long m_lastUpdate
private java.lang.String m_latestVersion
private java.lang.String m_lastSupportedVersion
private java.lang.String m_vendor
private java.net.URL m_downloadURL
private java.lang.String m_vendorLongName
private java.lang.String m_versionName
private boolean m_bForce
private org.w3c.dom.Element m_xmlDescription
Constructor Detail |
---|
public JavaVersionDBEntry(org.w3c.dom.Element a_xmlElement) throws XMLParseException
XMLParseException
Method Detail |
---|
public boolean isUpdateForced()
public static JavaVersionDBEntry getNewJavaVersion()
public boolean isJavaTooOld()
public boolean isJavaNoMoreSupported()
private boolean isJavaOK(boolean a_bCheckStillSupported)
public java.lang.String getLastSupportedJREVersion()
public java.net.URL getDownloadURL()
public org.w3c.dom.Element getXmlStructure()
AbstractDistributableDatabaseEntry
getXmlStructure
in class AbstractDistributableDatabaseEntry
public java.lang.String getJREVersion()
public java.lang.String getJREVersionName()
public long getVersionNumber()
getVersionNumber
in class AbstractDatabaseEntry
public long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate
in class AbstractDatabaseEntry
public java.lang.String getVendor()
public java.lang.String getVendorLongName()
public java.lang.String getId()
getId
in interface IDistributable
getId
in class AbstractDatabaseEntry
public java.lang.String getPostFile()
private static boolean checkVendor(java.lang.String a_vendorId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |