Class OldIndexUtils


  • public class OldIndexUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OldIndexUtils()  
    • Method Summary

      Modifier and Type Method Description
      static void copyIndex​(org.apache.logging.log4j.Logger logger, java.nio.file.Path src, java.lang.String folderName, java.nio.file.Path... dests)  
      static java.nio.file.Path getIndexDir​(org.apache.logging.log4j.Logger logger, java.lang.String indexName, java.lang.String indexFile, java.nio.file.Path dataDir)  
      static Settings getSettings()  
      static java.util.List<java.lang.String> loadDataFilesList​(java.lang.String prefix, java.nio.file.Path bwcIndicesPath)  
      • Methods inherited from class java.lang.Object

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

      • OldIndexUtils

        public OldIndexUtils()
    • Method Detail

      • loadDataFilesList

        public static java.util.List<java.lang.String> loadDataFilesList​(java.lang.String prefix,
                                                                         java.nio.file.Path bwcIndicesPath)
                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getSettings

        public static Settings getSettings()
      • getIndexDir

        public static java.nio.file.Path getIndexDir​(org.apache.logging.log4j.Logger logger,
                                                     java.lang.String indexName,
                                                     java.lang.String indexFile,
                                                     java.nio.file.Path dataDir)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • copyIndex

        public static void copyIndex​(org.apache.logging.log4j.Logger logger,
                                     java.nio.file.Path src,
                                     java.lang.String folderName,
                                     java.nio.file.Path... dests)
                              throws java.io.IOException
        Throws:
        java.io.IOException