Class FileWrapper

java.lang.Object
edu.tufts.hrilab.action.gui.FileWrapper

public class FileWrapper extends Object
The only purpose of this class is to store a file path alongside the file name, for use in a JTree, as user object.
  • Constructor Details

    • FileWrapper

      public FileWrapper(String n, String p)
    • FileWrapper

      public FileWrapper(String n, String p, boolean directory)
  • Method Details

    • getPath

      public String getPath()
    • isDirectory

      public boolean isDirectory()
    • toString

      public String toString()
      Overrides:
      toString in class Object