net.proxy.sunproxy
Class ConfigProperties.JREInformation
java.lang.Object
   net.proxy.sunproxy.ConfigProperties.JREInformation
net.proxy.sunproxy.ConfigProperties.JREInformation
- Enclosing class:
- ConfigProperties
- public static class ConfigProperties.JREInformation 
- extends java.lang.Object
Helper class to store version information about a JRE
 
| Constructor Summary | 
| ConfigProperties.JREInformation(java.lang.String platformVersionId,
                                java.lang.String productVersionId,
                                java.net.URL productLocation,
                                java.lang.String installedPath,
                                int whereSpecified,
                                boolean isEnabled,
                                int index)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, wait, wait, wait | 
 
SRC_USER
public static final int SRC_USER
- See Also:
- Constant Field Values
SRC_INSTALL
public static final int SRC_INSTALL
- See Also:
- Constant Field Values
ConfigProperties.JREInformation
public ConfigProperties.JREInformation(java.lang.String platformVersionId,
                                       java.lang.String productVersionId,
                                       java.net.URL productLocation,
                                       java.lang.String installedPath,
                                       int whereSpecified,
                                       boolean isEnabled,
                                       int index)
getIndex
public int getIndex()
- 
 
getWhereSpecified
public int getWhereSpecified()
- 
 
getPlatformVersionId
public java.lang.String getPlatformVersionId()
- 
 
getProductVersionId
public java.lang.String getProductVersionId()
- 
 
getProductLocation
public java.net.URL getProductLocation()
- 
 
getInstalledPath
public java.lang.String getInstalledPath()
- 
 
isEnabled
public boolean isEnabled()
- 
 
setEnabled
public void setEnabled(boolean isEnabled)
- 
 
setVersions
public void setVersions(java.lang.String platformId,
                        java.lang.String productId)
- 
 
fromProperty
public static ConfigProperties.JREInformation fromProperty(java.util.Properties props,
                                                           int n,
                                                           int src)
- 
 
copy
public ConfigProperties.JREInformation copy()
- 
 
setEnabledProperty
public void setEnabledProperty(java.util.Properties props)
- 
 
toProperty
public void toProperty(java.util.Properties props)
- 
 
isCurrentRunningJRE
public boolean isCurrentRunningJRE()
- 
 
equals
public boolean equals(java.lang.Object o)
- 
- Overrides:
- equalsin class- java.lang.Object
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- java.lang.Object
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
-