Package ome.services

Class OmeroFilePathResolver

  • All Implemented Interfaces:
    ome.io.nio.FilePathResolver

    public class OmeroFilePathResolver
    extends java.lang.Object
    implements ome.io.nio.FilePathResolver
    OMERO server based resolver for file paths.
    Since:
    OMERO4.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String omeroDataDir
      The server's OMERO data directory.
      protected ome.util.SqlAction sql
      SQL action instance for this class.
    • Constructor Summary

      Constructors 
      Constructor Description
      OmeroFilePathResolver​(ome.util.SqlAction sql, java.lang.String omeroDataDir)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOriginalFilePath​(ome.io.nio.AbstractFileSystemService service, ome.model.core.Pixels pixels)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sql

        protected final ome.util.SqlAction sql
        SQL action instance for this class.
      • omeroDataDir

        protected final java.lang.String omeroDataDir
        The server's OMERO data directory.
    • Constructor Detail

      • OmeroFilePathResolver

        public OmeroFilePathResolver​(ome.util.SqlAction sql,
                                     java.lang.String omeroDataDir)
        Constructor.
        Parameters:
        sql - SQL action instance for this class.
        omeroDataDir - The server's OMERO data directory.
    • Method Detail

      • getOriginalFilePath

        public java.lang.String getOriginalFilePath​(ome.io.nio.AbstractFileSystemService service,
                                                    ome.model.core.Pixels pixels)
        Specified by:
        getOriginalFilePath in interface ome.io.nio.FilePathResolver