ome.io.nio
Interface FilePathResolver

All Known Implementing Classes:
OmeroFilePathResolver

public interface FilePathResolver

Resolver for file paths and related metadata.

Since:
OMERO4.3
Author:
Chris Allan      callan@blackcat.ca

Method Summary
 String getOriginalFilePath(AbstractFileSystemService service, ome.model.core.Pixels pixels)
          Retrieves the original file path for a given set of pixels.
 Map<String,String> getPixelsParams(ome.model.core.Pixels pixels)
          Retrieves the pixels set's stored parameters.
 

Method Detail

getOriginalFilePath

String getOriginalFilePath(AbstractFileSystemService service,
                           ome.model.core.Pixels pixels)
Retrieves the original file path for a given set of pixels.

Parameters:
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.
Returns:
Absolute path to the original file for the set of pixels.

getPixelsParams

Map<String,String> getPixelsParams(ome.model.core.Pixels pixels)
Retrieves the pixels set's stored parameters.

Parameters:
pixels - Pixels set to retrieve parameters for.
Returns:
Map of key vs. value with the parameters for this pixels set.


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.