public class OmeroFilePathResolver extends java.lang.Object implements FilePathResolver
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
omeroDataDir
The server's OMERO data directory.
|
protected SqlAction |
sql
SQL action instance for this class.
|
| Constructor and Description |
|---|
OmeroFilePathResolver(SqlAction sql,
java.lang.String omeroDataDir)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOriginalFilePath(AbstractFileSystemService service,
Pixels pixels)
Retrieves the original file path for a given set of pixels.
|
protected final SqlAction sql
protected final java.lang.String omeroDataDir
public OmeroFilePathResolver(SqlAction sql, java.lang.String omeroDataDir)
sql - SQL action instance for this class.omeroDataDir - The server's OMERO data directory.public java.lang.String getOriginalFilePath(AbstractFileSystemService service, Pixels pixels)
FilePathResolvergetOriginalFilePath in interface FilePathResolverservice - File system service which contains methods to resolve
the root and directory structure of the path.pixels - Pixels set to retrieve an original file path for.
Version: 5.4.1-ice35-b75
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.