public class FileAnnotationData extends AnnotationData
| Modifier and Type | Field and Description | 
|---|---|
| static String | BULK_ANNOTATIONS_NSThe name space used to indicate that the  FileAnnotationis aBulk Annotationsfile. | 
| static String | COMPANION_FILE_NSThe name space used to indicate that the  FileAnnotationis a companion file. | 
| static String | CSVIdentifies the  CSVfile formats. | 
| static String | EXPERIMENTER_PHOTO_NSThe name space used to identify the experimenter photo. | 
| static String | FLIM_NSIdentifies the FLIM namespace. | 
| static String | HTMIdentifies the  HTMfile formats. | 
| static String | HTMLIdentifies the  HTMLfile formats. | 
| static String | LOG_FILE_NSThe name space used to indicate that the  FileAnnotationis an import log file. | 
| static String | MEASUREMENT_NSThe name space used to indicate that the  FileAnnotationis aMeasurementfile. | 
| static String | MOVIE_NSThe name space used to indicate that the  FileAnnotationis a movie. | 
| static String | MS_EXCELIdentifies the  Excelfile formats. | 
| static String | MS_POWER_POINTIdentifies the  Power pointfile formats. | 
| static String | MS_POWER_POINT_SHOWIdentifies the  Power pointfile formats. | 
| static String | MS_POWER_POINT_XIdentifies the  Power pointfile formats. | 
| static String | MS_WORDIdentifies the  Wordfile formats. | 
| static String | MS_WORD_XIdentifies the  Wordfile formats. | 
| static String | ORIGINAL_METADATA_NAMEThe default name for the original metadata file. | 
| static String | PDFIdentifies the  PDFfile formats. | 
| static String | RTFIdentifies the  RTFfile formats. | 
| static String | TEXTIdentifies the  Textfile formats. | 
| static String | UNKNOWNIndicates that the format is not recognized. | 
| static String | XMLIdentifies the  XMLfile formats. | 
FILE_TRANSFER_NS| Constructor and Description | 
|---|
| FileAnnotationData(File file)Creates a new instance. | 
| FileAnnotationData(omero.model.FileAnnotation annotation)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| File | getAttachedFile()Returns the file to upload to the server. | 
| Object | getContent()Returns the original file. | 
| String | getContentAsString()Returns the absolute path to the file | 
| String | getDescription()Returns the description of the annotation. | 
| String | getFileFormat()Returns the format of the uploaded file. | 
| long | getFileID()Returns the id of the file. | 
| String | getFileKind()Returns a user readable description of the file. | 
| String | getFileName()Returns the name of the file. | 
| String | getFilePath()Returns the absolute path to the file. | 
| long | getFileSize()Returns the size of the file. | 
| String | getOriginalMimetype()Returns the format of the original file. | 
| String | getServerFileMimetype()Returns the file format as defined by the specification, corresponding to
 the file extension. | 
| boolean | isMovieFile()Returns  trueif it is a movie file. | 
| void | setContent(Object content)Sets the text annotation. | 
| void | setDescription(String description)Sets the description of the annotation. | 
getLastModified, getNameSpace, setNameSpaceasAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toStringpublic static final String EXPERIMENTER_PHOTO_NS
public static final String COMPANION_FILE_NS
FileAnnotation 
 is a companion file.public static final String LOG_FILE_NS
FileAnnotation
 is an import log file.public static final String MOVIE_NS
FileAnnotation 
 is a movie.public static final String MEASUREMENT_NS
FileAnnotation 
 is a Measurement file.public static final String BULK_ANNOTATIONS_NS
FileAnnotation 
 is a Bulk Annotations file.public static final String FLIM_NS
public static final String ORIGINAL_METADATA_NAME
public static final String PDF
PDF file formats.public static final String TEXT
Text file formats.public static final String CSV
CSV file formats.public static final String XML
XML file formats.public static final String HTML
HTML file formats.public static final String HTM
HTM file formats.public static final String MS_WORD
Word file formats.public static final String MS_WORD_X
Word file formats.public static final String MS_EXCEL
Excel file formats.public static final String MS_POWER_POINT
Power point file formats.public static final String MS_POWER_POINT_X
Power point file formats.public static final String MS_POWER_POINT_SHOW
Power point file formats.public static final String RTF
RTF file formats.public static final String UNKNOWN
public FileAnnotationData(File file)
file - The file to attach.public FileAnnotationData(omero.model.FileAnnotation annotation)
annotation - The annotation to wrap.public String getOriginalMimetype()
public void setDescription(String description)
setDescription in class AnnotationDatadescription - The value to set.public String getDescription()
getDescription in class AnnotationDatapublic String getServerFileMimetype()
public String getFileFormat()
public String getFileKind()
public File getAttachedFile()
public String getFileName()
public String getFilePath()
public long getFileSize()
public long getFileID()
public Object getContent()
getContent in class AnnotationDataAnnotationData.getContent()public String getContentAsString()
getContentAsString in class AnnotationDataAnnotationData.getContentAsString()public boolean isMovieFile()
true if it is a movie file.
 false otherwise.public void setContent(Object content)
setContent in class AnnotationDatacontent - The value to set.AnnotationData.setContent(Object)
                
                
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.