|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.sswap.api.model.VersionInformation
public class VersionInformation
Provides information about the version of Java API.
| Field Summary | |
|---|---|
private static org.apache.log4j.Logger |
LOGGER
Interface to Logging API |
private static java.lang.String |
RELEASE_DATE_PROPERTY
Name of the property that contains the release date. |
private static java.lang.String |
UNKNOWN
Default value for the release date if no other information is available |
private static java.lang.String |
VERSION_PROPERTY
Name of the property that contains the version of the API |
private java.util.Properties |
versionProperties
Contains properties read from the file. |
| Constructor Summary | |
|---|---|
private |
VersionInformation()
Creates new version information object. |
| Method Summary | |
|---|---|
static VersionInformation |
get()
Static getter for the version information. |
java.lang.String |
getReleaseDate()
Returns the date of the release |
java.lang.String |
getVersionString()
Returns the version of Java API |
java.lang.String |
toString()
Returns information about the version and release date as a single string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.log4j.Logger LOGGER
private static java.lang.String UNKNOWN
private static java.lang.String VERSION_PROPERTY
private static java.lang.String RELEASE_DATE_PROPERTY
private java.util.Properties versionProperties
| Constructor Detail |
|---|
private VersionInformation()
| Method Detail |
|---|
public static final VersionInformation get()
public java.lang.String getVersionString()
public java.lang.String getReleaseDate()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||