Package omero.grid

Class ImportLocation

  • All Implemented Interfaces:
    Ice.Object, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    ManagedImportLocationI

    public class ImportLocation
    extends Ice.ObjectImpl
    Returned by ManagedRepository.importFileset with the information needed to proceed with an FS import. For the examples that follow, assume that the used files passed to importFileset were:
     /Users/jack/Documents/Data/Experiment-1/1.dv
     /Users/jack/Documents/Data/Experiment-1/1.dv.log
     /Users/jack/Documents/Data/Experiment-2/2.dv
     /Users/jack/Documents/Data/Experiment-2/2.dv.log
     
    See Also:
    Serialized Form
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
      • sharedPath

        public java.lang.String sharedPath
        The shared base of all the paths passed to the server.
      • omittedLevels

        public int omittedLevels
        Number of directories which have been omitted from the original paths passed to the server.
      • usedFiles

        public java.util.List<java.lang.String> usedFiles
        Parsed string names which should be used by the clients during upload. This array will be of the same length as the argument passed to ManagedRepository.importFileset but will have shortened paths.
         Experiment/1.dv
         Experiment/1.dv.log
         
      • directory

        public OriginalFile directory
        Represents the directory to which all files will be uploaded.
    • Constructor Detail

      • ImportLocation

        public ImportLocation()
      • ImportLocation

        public ImportLocation​(java.lang.String sharedPath,
                              int omittedLevels,
                              java.util.List<java.lang.String> usedFiles,
                              OriginalFile directory)