Interface FileAnnotation

    • Method Detail

      • getOriginalMimetype

        java.lang.String getOriginalMimetype()
        Returns the format of the original file.
        Returns:
        See above.
      • getServerFileMimetype

        java.lang.String getServerFileMimetype()
        Returns the file format as defined by the specification, corresponding to the file extension.
        Returns:
        See above.
      • getFileFormat

        java.lang.String getFileFormat()
        Returns the format of the uploaded file.
        Returns:
        See above.
      • getFileKind

        java.lang.String getFileKind()
        Returns a user readable description of the file.
        Returns:
        See above.
      • getAttachedFile

        java.io.File getAttachedFile()
        Returns the file to upload to the server.
        Returns:
        See above.
      • getFileName

        java.lang.String getFileName()
        Returns the name of the file.
        Returns:
        See above.
      • getFilePath

        java.lang.String getFilePath()
        Returns the absolute path to the file.
        Returns:
        See above.
      • getFileSize

        long getFileSize()
        Returns the size of the file.
        Returns:
        See above.
      • getFileID

        long getFileID()
        Returns the ID of the file.
        Returns:
        See above.
      • getFile

        java.io.File getFile​(ConnectionHandler client,
                             java.lang.String path)
                      throws java.io.IOException,
                             ServiceException,
                             ServerException
        Returns the original file.
        Parameters:
        client - The client handling the connection.
        path - The path where the file will be saved.
        Returns:
        See above.
        Throws:
        ServiceException - Cannot connect to OMERO.
        java.io.IOException - Cannot write to the file.
        ServerException - Server error.
      • isMovieFile

        boolean isMovieFile()
        Returns true if it is a movie file. false otherwise.
        Returns:
        See above.