Class DirectorySelector

    • Field Detail

      • path

        private final java.lang.String path
    • Constructor Detail

      • DirectorySelector

        DirectorySelector​(java.lang.String path)
    • Method Detail

      • getDirectory

        public java.io.File getDirectory()
        Get the selected directory as a File.
        See Also:
        getPath(), getRawPath()
      • getPath

        public java.nio.file.Path getPath()
        Get the selected directory as a Path using the default FileSystem.
        See Also:
        getDirectory(), getRawPath()
      • getRawPath

        public java.lang.String getRawPath()
        Get the selected directory as a raw path.
        See Also:
        getDirectory(), getPath()
      • equals

        @API(status=STABLE,
             since="1.3")
        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
        Since:
        1.3
      • hashCode

        @API(status=STABLE,
             since="1.3")
        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        Since:
        1.3
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object