public interface SaveSettings extends Resource
getMeasurementBasePath(String, long)
) is constructed from this user chosen path, the measurement name (in this example "my_measurement") and the current time.
The full base path returned by getMeasurementBasePath(String, long)
would than be
"C:/measurementsmy_measurement/2016-08-16_17-43-15" (date in year-month-day_hour-minute-second convention). The image path (as returned by getImageFilePath(ImageEvent, String)
) of an image made in well B2, at iteration 5, with name "gfp" and file type tiff is e.g. given by "B2/gfp_time0005".
Then, the full path of the image file stored will be
"C:/measurements/my_measurement/2016-08-16_17-43-15/B2/gfp_time0005.tif".Modifier and Type | Method and Description |
---|---|
java.lang.String |
getImageExtension(ImageEvent<?> event,
java.lang.String imageName)
Returns a extension/file type (without a dot, e.g.
|
java.lang.String |
getImageFilePath(ImageEvent<?> event,
java.lang.String imageName)
Returns a file path (with extension) where an image with a given name should be saved.
|
java.lang.String |
getImageMetadataTableFilePath()
Returns a file path (with extension) where the table storing metadata about the images should be stored.
|
java.lang.String |
getLogErrFilePath()
Returns the file path for the error log file (with extension).
|
java.lang.String |
getLogOutFilePath()
Returns the file path for the standard output log file (with extension).
|
java.lang.String |
getMeasurementBasePath(java.lang.String measurementName,
long timeMs)
Returns the name of the base folder/path where the measurement is saved, and relative to which all other paths are given.
|
java.lang.String |
getMeasurementConfigurationFilePath()
Path of the file (with extension) where the measurement configuration should be saved into.
|
java.lang.String |
getMicroscopeConfigurationFilePath()
Path of the file (with extension) where the microscope configuration should be saved into.
|
java.lang.String |
getScopeSettingsFilePath()
Path of the XML file (with extension) where the scope and channel settings are saved into.
|
java.lang.String |
getTableFilePath(java.lang.String tableName)
Returns a file path (with extension) where a table with a given name should be saved.
|
getTypeIdentifier, initialize, isInitialized, uninitialize
addMessageListener, getName, getPositionInformation, getUUID, removeMessageListener, setName
java.lang.String getScopeSettingsFilePath()
getMeasurementBasePath(String, long)
.java.lang.String getMeasurementConfigurationFilePath()
getMeasurementBasePath(String, long)
.java.lang.String getMicroscopeConfigurationFilePath()
getMeasurementBasePath(String, long)
.java.lang.String getLogErrFilePath()
getMeasurementBasePath(String, long)
.java.lang.String getLogOutFilePath()
getMeasurementBasePath(String, long)
.java.lang.String getMeasurementBasePath(java.lang.String measurementName, long timeMs)
measurementName
- Name of the measurement.timeMs
- Time in ms when measurement was started. See System.currentTimeMillis()
.java.lang.String getTableFilePath(java.lang.String tableName)
getMeasurementBasePath(String, long)
.tableName
- User chosen table name.java.lang.String getImageMetadataTableFilePath()
getMeasurementBasePath(String, long)
.java.lang.String getImageFilePath(ImageEvent<?> event, java.lang.String imageName)
getMeasurementBasePath(String, long)
.event
- image event.imageName
- user chosen name of the image.java.lang.String getImageExtension(ImageEvent<?> event, java.lang.String imageName)
getImageExtension(ImageEvent, String)
. This extension is internally used to determine how the image should be saved, and should match
be a supported image type (for more, see YouScope server details).event
- image event.imageName
- user chosen name of the image.