| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final OSInfo. | |
| private static final String | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static OSInfo. | |
| private static OSInfo. | |
| public static OSInfo. |
| CURRENT_OSTYPE | back to summary |
|---|---|
| private static final OSInfo. | |
| OS_VERSION | back to summary |
|---|---|
| private static final String OS_VERSION | |
| WINDOWS_2000 | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_2003 | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_7 | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_95 | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_98 | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_ME | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_UNKNOWN | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_VISTA | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS_XP | back to summary |
|---|---|
| public static final OSInfo. | |
| windowsVersionMap | back to summary |
|---|---|
| private static final Map<String, OSInfo. | |
| OSInfo | back to summary |
|---|---|
| private OSInfo() | |
| getOSType | back to summary |
|---|---|
| public static OSInfo. Returns type of operating system. | |
| getOSTypeImpl | back to summary |
|---|---|
| private static OSInfo. | |
| getWindowsVersion | back to summary |
|---|---|
| public static OSInfo. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. | |
| public static final OSInfo. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static OSInfo. | |
| public static OSInfo. |
| AIX | back to summary |
|---|---|
| public static final OSInfo. | |
| LINUX | back to summary |
|---|---|
| public static final OSInfo. | |
| MACOSX | back to summary |
|---|---|
| public static final OSInfo. | |
| UNKNOWN | back to summary |
|---|---|
| public static final OSInfo. | |
| WINDOWS | back to summary |
|---|---|
| public static final OSInfo. | |
| OSType | back to summary |
|---|---|
| private OSType() | |
| valueOf | back to summary |
|---|---|
| public static OSInfo. | |
| values | back to summary |
|---|---|
| public static OSInfo. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(OSInfo.
Implements java. Compares this object with the specified object for order. |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | |
| public int | |
| public String |
| major | back to summary |
|---|---|
| private final int major | |
| minor | back to summary |
|---|---|
| private final int minor | |
| WindowsVersion | back to summary |
|---|---|
| private WindowsVersion(int major, int minor) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(OSInfo. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getMajor | back to summary |
|---|---|
| public int getMajor() | |
| getMinor | back to summary |
|---|---|
| public int getMinor() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |