ca.uhn.hl7v2.util
Class Home
java.lang.Object
ca.uhn.hl7v2.util.Home
public class Home
- extends Object
Used to access the hapi.home system property. Note that the property
is only checked (at most) once per session.
- Author:
- Bryan Tripp
|
Constructor Summary |
Home()
Creates a new instance of Home |
|
Method Summary |
static File |
getHomeDirectory()
Returns a File object corresponding to the directory specified in
the system property hapi.home. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Home
public Home()
- Creates a new instance of Home
getHomeDirectory
public static File getHomeDirectory()
- Returns a File object corresponding to the directory specified in
the system property hapi.home. The property is only checked the
first time this method is called, so changes will not take place
until a new VM is started.
This method is guaranteed to return a directory. If hapi.home is
not set, or is set to a non-directory path, the current working directory will
be used.
main
public static void main(String[] args)
Copyright © 2001-2012 University Health Network. All Rights Reserved.