Interface File

    • Method Detail

      • setLastModificationDate

        void setLastModificationDate​(ZonedDateTime lastModificationDate)
        Sets the last modification date of the file's data
        Parameters:
        lastModificationDate - the last modification date to set
      • getLength

        long getLength()
        Returns the length of the data stream.
        Returns:
        the length of the data stream.
      • getMimeType

        String getMimeType()
        Returns the data mime-type.
        Returns:
        the data mime-type.
      • setMimeType

        void setMimeType​(String mimeType)
        Sets the mime type of the file's data
        Parameters:
        mimeType - the mime type to set
      • getName

        String getName()
        Retrieves the file's name
        Returns:
        the file's name