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)
FilePathResolver
getOriginalFilePath
in interface FilePathResolver
service
- 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.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.