Interface SpoonResource

    • Method Detail

      • getParent

        SpoonFolder getParent()
        Gets the folder that contains this resource.
      • getName

        String getName()
        Gets the name of this resource.
      • isFile

        boolean isFile()
        Tells if this resource is a file.
      • isArchive

        boolean isArchive()
        Tells if this resource is an archive.
      • getPath

        String getPath()
        Gets this resource path.
      • getFileSystemParent

        File getFileSystemParent()
        Gets the parent of this resource on the file system.
      • toFile

        File toFile()
        Gets the corresponding file if possible (returns null if this resource does not correspond to any file on the filesystem).