Class IgInstanceDirFinder


  • public final class IgInstanceDirFinder
    extends Object
    This class is responsible for locating the IG instance directory. It will iterate through some well-known environment variables, system properties and if none was specified by the user then it will default to the platform standard directory.
    • Field Detail

      • INSTANCE_SYSTEM_PROPERTY

        public static final String INSTANCE_SYSTEM_PROPERTY
        System property name that can be specified through command line. java -Dig.instance.dir=/my/openig/path ....
        See Also:
        Constant Field Values
    • Method Detail

      • find

        public static File find()
        Find the directory that will be used as the base directory.
        Returns:
        the directory that will be used as the base directory.