Package ca.uhn.hl7v2.util
Class Home
java.lang.Object
ca.uhn.hl7v2.util.Home
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileReturns a File object corresponding to the directory specified in the system property hapi.home.static void
-
Constructor Details
-
Home
public Home()Creates a new instance of Home
-
-
Method Details
-
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
-