Class FileImporter.PathIdMethod

    • Field Detail

      • rootPath

        private String rootPath
    • Constructor Detail

      • PathIdMethod

        public PathIdMethod()
    • Method Detail

      • getMethod

        public String getMethod()
        Description copied from interface: IdMethod
        The name of this method, which should be unique among the methods that can be used at a given time.
        Specified by:
        getMethod in interface IdMethod
        Returns:
        The method name
      • getTitle

        public String getTitle()
        Description copied from interface: IdMethod
        The display title of the method.
        Specified by:
        getTitle in interface IdMethod
      • prepareQuery

        public <I extends BasicItemItemQuery<I> prepareQuery​(DbControl dc,
                                                               ItemQuery<I> query)
        Description copied from interface: IdMethod
        Initialise a query to be used by this identification method. The query should be a fresh query without any previous restrictions or other modifications.
        Specified by:
        prepareQuery in interface IdMethod
        query - The query to prepare
        Returns:
        The query that is used for item lookup