Interface FileEntry


public interface FileEntry
  • Method Details

    • directory

      boolean directory()
      Returns:
      True for directories.
    • relativePath

      String relativePath()
      Path to the file or directory. Uses forward slashes as path-separators, and does not have a leading slash.
    • lastModified

      FileTime lastModified()
      Returns:
      Millis since epoch denoting when the file was last modified. 0 for directories.
    • openInputStream

      InputStream openInputStream() throws IOException
      Returns:
      An input stream to read this content.
      Throws:
      IOException
    • hasExtension

      default boolean hasExtension(String extension)