| Package | Description | 
|---|---|
| org.codehaus.plexus.languages.java.version | 
| Modifier and Type | Field | Description | 
|---|---|---|
| static JavaVersion | JavaVersion. JAVA_SPECIFICATION_VERSION | Represents the System property  java.specification.version | 
| static JavaVersion | JavaVersion. JAVA_VERSION | Represents the System property  java.version | 
| Modifier and Type | Method | Description | 
|---|---|---|
| JavaVersion | JavaVersion. asMajor() | If original version starts with  "1.", then remove this part from the version | 
| static JavaVersion | JavaVersion. parse(String s) | Lazy parse the version-scheme. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| int | JavaVersion. compareTo(JavaVersion other) | |
| boolean | JavaVersion. isAtLeast(JavaVersion other) | Verify if this version is at least some other version | 
| boolean | JavaVersion. isBefore(JavaVersion other) | Verify if this version is before some other version | 
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.