Class VFSMemoryDirectoryEntry

    • Constructor Detail

      • VFSMemoryDirectoryEntry

        public VFSMemoryDirectoryEntry()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getEntry

        public VFSMetaEntry getEntry​(String relativePath)
        Takes a relative path, e.g. a/b/c/foo.txt and returns the entry or if the entry is a directory, returns that.
        Parameters:
        relativePath -
        Returns:
      • mkdirs

        public void mkdirs​(String relativePath)
      • isDirectory

        public boolean isDirectory​(String relativePath)
      • rm

        public void rm​(String relativePath)
        Removes the file from the store
        Parameters:
        relativePath -
      • rmDirectory

        public void rmDirectory​(String relativePath)
        Contract is if the relative path has multiple components, remove the last one.
        Parameters:
        relativePath -