Class DataFilePath

java.lang.Object
ecmwf.ecpds.master.DataFilePath

public class DataFilePath extends Object
The Class DataFilePath.
  • Constructor Details

    • DataFilePath

      public DataFilePath()
  • Method Details

    • getPath

      public static String getPath(DataFile dataFile)
      Gets the path.
      Parameters:
      dataFile - the data file
      Returns:
      the path
    • getPath

      public static String getPath(DataFile dataFile, Integer instance)
      Build the full path name of the DataFile on the storage.
      Parameters:
      dataFile - the data file
      instance - the instance
      Returns:
      the path
    • getDataFileId

      public static long getDataFileId(String target)
      Gets the data file id from the target name or -1 if it can't find it.
      Parameters:
      target - the target name
      Returns:
      the data file id
    • getDir

      public static String getDir(int fileSystem, long arrivedTime)
      Build the path to access a DataFile on the storage.
      Parameters:
      fileSystem - the file system
      arrivedTime - the arrived time
      Returns:
      the dir