Interface StorageFile

    • Method Detail

      • qualifier

        String qualifier()
        Returns a string that gives name() a unique identity. Example: The parent directory path of a File.
      • identifier

        String identifier()
        Returns a string uniquely identifying the file represented by this instance.
        Returns:
        this file's unique identifier.
        See Also:
        name()
      • name

        String name()
        Return a compact string containing a specific, but not necessarily unique name of the file represented by this instance. Might be the same string returned by identifier().
        Returns:
        this file's name.
        See Also:
        identifier()
      • length

        long length()
      • isEmpty

        default boolean isEmpty()
      • delete

        boolean delete()
      • exists

        boolean exists()
      • isOpen

        default boolean isOpen()
      • close

        default void close()