|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.universal.glassfish.ASenvPropertyReader
public class ASenvPropertyReader
Class ASenvPropertyReader This class converts the variables stored in asenv.conf (UNIX) or asenv.bat (WINDOWS) into their equivalent system properties.
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 Summary | |
|---|---|
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(java.io.File installDir)
Read and process the information in asenv.[bat|conf] This constructor should normally not be called. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getProps()
Returns the properties that were processed. |
java.lang.String |
toString()
Returns a string representation of the properties in the Map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASenvPropertyReader()
To use the class, create an instance and then call getProps().
public ASenvPropertyReader(java.io.File installDir)
installDir - The Glassfish installation directory| Method Detail |
|---|
public java.util.Map<java.lang.String,java.lang.String> getProps()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||