Class Target


  • public class Target
    extends Object
    Class to support target URLs, files, and directories.
    Author:
    mcayanan
    • Constructor Detail

      • Target

        public Target​(String target)
        Constructor
        Parameters:
        target - A file, URL, or directory.
    • Method Detail

      • isDirectory

        public boolean isDirectory()
        Determine if the target is a directory
        Returns:
        'true' if the target is a directory, 'false' otherwise
      • toString

        public String toString()
        Get the target name.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the target.