gov.nist.antd.merlin
Class GlassConstants
java.lang.Object
|
+--gov.nist.antd.merlin.GlassConstants
- public class GlassConstants
- extends java.lang.Object
This class contains constant values and global parameters. This class is
basically used by the graphical user interfaces.
This class was developed at the National Institute of Standards and
Technology by employees of the Federal Government in the course of
their official duties. Pursuant to title 17 Section 105 of the United
States Code this software is not subject to copyright protection and
is in the public domain.
NIST assumes no responsibility whatsoever for its use by other parties,
and makes no guarantees, expressed or implied, about its quality,
reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING
FROM THE USE OF THIS SOFTWARE.
- Author:
- borchert
|
Field Summary |
static java.lang.String |
GLASS_HOME
The home directory of the GLASS software. |
|
Method Summary |
private static java.lang.String |
getDirectoryString(java.net.URL homeURL)
Determines the directory of the given urls. |
(package private) static java.lang.String |
getHome()
This method determines the home directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLASS_HOME
public static java.lang.String GLASS_HOME
- The home directory of the GLASS software.
GlassConstants
public GlassConstants()
getDirectoryString
private static java.lang.String getDirectoryString(java.net.URL homeURL)
- Determines the directory of the given urls.
- Parameters:
homeURL - The url that contains of the home directory.
- Returns:
- The string of the home directory. The home directory contains the
sub directory cfg. If no home is found the return value is null.
getHome
static java.lang.String getHome()
- This method determines the home directory. If no directory is existant,
this method stopps the JVM.
- Returns:
- the string of the home directory.