Package digilib.io

Class FsDocuDirectory

    • Constructor Detail

      • FsDocuDirectory

        public FsDocuDirectory()
    • Method Detail

      • readDir

        public abstract boolean readDir()
        Description copied from class: DocuDirectory
        Read the filesystem directory and fill this object. Clears the List and (re)reads all files.
        Specified by:
        readDir in class DocuDirectory
        Returns:
        boolean the directory exists
      • getParentDirectory

        public FsDirectory getParentDirectory()
        Returns the parent filesystem Directory.
        Returns:
        the Directory
      • getDir

        public File getDir()
        Returns the filesystem File for this directory.
        Returns:
        the File
      • getFilenames

        public String[] getFilenames()
        Returns:
        the filenames
      • createParentName

        public String createParentName​(String fn)
        Description copied from class: DocuDirectory
        Returns a possible parent directory name for path fn.
        Specified by:
        createParentName in class DocuDirectory
        Parameters:
        fn - the fn
        Returns:
        the parent name