| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: a full string representation of the provided versionReturns a full string representation of the provided version. |
| public static Runtime. | Returns: the versionReturns the version of the |
| public static String | Returns: a short string representation of the provided versionReturns a short string representation of the provided version. |
| Versions | back to summary |
|---|---|
| private Versions() | |
| fullVersionStringOf | back to summary |
|---|---|
| public static String fullVersionStringOf(Runtime. Returns a full string representation of the provided version. Examples of strings returned from this method are "14+36-1461" and "15-internal+0-2020-06-02-1426246.duke...".
| |
| javadocVersion | back to summary |
|---|---|
| public static Runtime. Returns the version of the This is typically the same as the version of the JDK platform being used to run the tool, but may be different when running the tool on an older version of the platform. API Note This method does not return
| |
| shortVersionStringOf | back to summary |
|---|---|
| public static String shortVersionStringOf(Runtime. Returns a short string representation of the provided version. The string contains the dotted representation of the version number, followed by the prerelease info, if any. For example, "15", "15.1", "15.0.1", "15-internal".
| |