public class OmeroFilePathResolver extends Object implements FilePathResolver
Modifier and Type | Field and Description |
---|---|
protected String |
omeroDataDir
The server's OMERO data directory.
|
protected ome.util.SqlAction |
sql
SQL action instance for this class.
|
Constructor and Description |
---|
OmeroFilePathResolver(ome.util.SqlAction sql,
String omeroDataDir)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getOriginalFilePath(AbstractFileSystemService service,
ome.model.core.Pixels pixels)
Retrieves the original file path for a given set of pixels.
|
protected final ome.util.SqlAction sql
protected final String omeroDataDir
public OmeroFilePathResolver(ome.util.SqlAction sql, String omeroDataDir)
sql
- SQL action instance for this class.omeroDataDir
- The server's OMERO data directory.public String getOriginalFilePath(AbstractFileSystemService service, ome.model.core.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.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.