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 Details

    • Home

      public Home()
      Creates a new instance of Home
  • Method Details

    • 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)