| Modifier and Type | Field and Description |
|---|---|
| private final Properties |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | findProperty(String
the property name propertyName)Returns unquoted value of the property with the specified name or an empty
|
| public Optional | findRawProperty(String
the property name propertyName)Returns verbatim value of the property with the specified name or an empty
|
| public Runtime. | |
| public List | |
| public static RuntimeReleaseFile | loadFromRuntime(Path
the path to a directory with the standard Java runtime
structure runtimeDir)Creates the instance form the "runtime" file in the specified runtime directory. |
| public static Path | releaseFilePathInRuntime(Path
the path to a directory with the standard Java runtime
structure runtimeDir)Returns path to the "runtime" file in the specified runtime directory. |
| props | back to summary |
|---|---|
| private final Properties props | |
| RuntimeReleaseFile | back to summary |
|---|---|
| public RuntimeReleaseFile(Path releaseFilePath) throws IOException | |
| findProperty | back to summary |
|---|---|
| public Optional Returns unquoted value of the property with the specified name or an empty
Property values in the "release" file are enclosed in double quotes. This method returns the value without the double quotes.
| |
| findRawProperty | back to summary |
|---|---|
| public Optional Returns verbatim value of the property with the specified name or an empty
Property values in the "release" file are enclosed in double quotes. This method returns the value with the double quotes.
| |
| getJavaVersion | back to summary |
|---|---|
| public Runtime. Returns the value of the "JAVA_VERSION" property.
Will throw
| |
| getModules | back to summary |
|---|---|
| public List Returns the value of the "MODULES" property.
| |
| loadFromRuntime | back to summary |
|---|---|
| public static RuntimeReleaseFile loadFromRuntime(Path runtimeDir) throws IOException Creates the instance form the "runtime" file in the specified runtime directory.
Uses
| |
| releaseFilePathInRuntime | back to summary |
|---|---|
| public static Path releaseFilePathInRuntime(Path runtimeDir) Returns path to the "runtime" file in the specified runtime directory.
| |