Interface FileEntry


public interface FileEntry
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the full internal path of the file entry.
    Get the declared media type of the file entry.
    long
    The size of the file entry in bytes.
    Get's the version of the file entry if it's declared.
    boolean
    Is the file entry a document entry?
    boolean
    Is the file entry encrypted?
  • Method Details

    • getFullPath

      String getFullPath()
      Get the full internal path of the file entry.
      Returns:
      the entry internal path
    • getMediaType

      String getMediaType()
      Get the declared media type of the file entry.
      Returns:
      the declared media type of the file entry, this may not be a legal MIME identifier
    • getSize

      long getSize()
      The size of the file entry in bytes.
      Returns:
      the size of the file entry.
    • getVersion

      String getVersion()
      Get's the version of the file entry if it's declared.
      Returns:
      the version of the file entry or null if not declared.
    • isDocument

      boolean isDocument()
      Is the file entry a document entry?
      Returns:
      true if the file entry is a document entry, otherwise false.
    • isEncrypted

      boolean isEncrypted()
      Is the file entry encrypted?
      Returns:
      true if the file entry is encrypted, otherwise false.