Class SameDirSearchLocation

    • Constructor Detail

      • SameDirSearchLocation

        public SameDirSearchLocation​(java.io.File progDir)
        Creates a new SameDirSearchLocation at the specified location.
        Parameters:
        progDir - path to the program's import directory
    • Method Detail

      • isSameDirSearchLocation

        public static boolean isSameDirSearchLocation​(java.lang.String locString)
        Returns true if the specified location string specifies a SameDirSearchLocation.
        Parameters:
        locString - string to test
        Returns:
        boolean true if locString specifies a BuildId location
      • getName

        public java.lang.String getName()
        Description copied from interface: SearchLocation
        Returns the name of this instance, which should be a serialized copy of this instance.
        Specified by:
        getName in interface SearchLocation
        Returns:
        String serialized data of this instance, typically in "something://serialized_data" form
      • getDescriptiveName

        public java.lang.String getDescriptiveName()
        Description copied from interface: SearchLocation
        Returns a human formatted string describing this location, used in UI prompts or lists.
        Specified by:
        getDescriptiveName in interface SearchLocation
        Returns:
        formatted string