Package fr.igred.omero.annotations
Class FileAnnotationWrapper
- java.lang.Object
-
- fr.igred.omero.GenericObjectWrapper<T>
-
- fr.igred.omero.annotations.GenericAnnotationWrapper<FileAnnotationData>
-
- fr.igred.omero.annotations.FileAnnotationWrapper
-
public class FileAnnotationWrapper extends GenericAnnotationWrapper<FileAnnotationData>
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description FileAnnotationWrapper(FileAnnotationData annotation)Constructor of the GenericAnnotationWrapper class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetAttachedFile()StringgetContentAsString()FilegetFile(Client client, String path)StringgetFileFormat()longgetFileID()StringgetFileKind()StringgetFileName()StringgetFilePath()longgetFileSize()StringgetOriginalMimetype()StringgetServerFileMimetype()booleanisMovieFile()-
Methods inherited from class fr.igred.omero.annotations.GenericAnnotationWrapper
getDatasets, getDescription, getImages, getLastModified, getNameSpace, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
Constructor Detail
-
FileAnnotationWrapper
public FileAnnotationWrapper(FileAnnotationData annotation)
Constructor of the GenericAnnotationWrapper class.- Parameters:
annotation- Annotation to be contained.
-
-
Method Detail
-
getOriginalMimetype
public String getOriginalMimetype()
-
getServerFileMimetype
public String getServerFileMimetype()
-
getFileFormat
public String getFileFormat()
-
getFileKind
public String getFileKind()
-
getAttachedFile
public File getAttachedFile()
-
getFileName
public String getFileName()
-
getFilePath
public String getFilePath()
-
getFileSize
public long getFileSize()
-
getFileID
public long getFileID()
-
getFile
public File getFile(Client client, String path) throws IOException, ServiceException, OMEROServerError
-
getContentAsString
public String getContentAsString()
-
isMovieFile
public boolean isMovieFile()
-
-