Interface DirectoryEntry

    • Method Detail

      • getDirname

        java.lang.String getDirname()
        Return a name for this directory.
      • getFiles

        java.util.List<FileEntry> getFiles()
                                    throws DiskException
        Retrieve the list of files in this directory. Note that if this is not a directory, the return value should be null. If this a directory, the return value should always be a list - a directory with 0 entries returns an empty list.
        Throws:
        DiskException
      • canCreateDirectories

        boolean canCreateDirectories()
        Identify if additional directories can be created. This may indicate that directories are not available to this operating system or simply that the disk image is "locked" to writing.
      • canCreateFile

        boolean canCreateFile()
        Indicates if this disk image can create a file. If not, the reason may be as simple as it has not beem implemented to something specific about the disk.
      • getFormattedDisk

        FormattedDisk getFormattedDisk()
        Get the FormattedDisk associated with this DirectoryEntry. This is useful to interfaces that need to retrieve the associated disk.