public class ASenvPropertyReader extends Object
This class guarantees that no Exception will get thrown back. You may however, have a bad javaRoot set even though we tried everything to find one
Constructor and Description |
---|
ASenvPropertyReader()
Read and process the information in asenv
There are no arguments because the installation directory is calculated
relative to the jar file you are calling from.
|
ASenvPropertyReader(File installDir)
Read and process the information in asenv.[bat|conf]
This constructor should normally not be called.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getProps()
Returns the properties that were processed.
|
String |
toString()
Returns a string representation of the properties in the Map
|
public ASenvPropertyReader()
To use the class, create an instance and then call getProps().
public ASenvPropertyReader(File installDir)
installDir
- The Glassfish installation directoryCopyright © 2019. All rights reserved.