Class RpmDb


  • class RpmDb
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.Object LOCK  
      private static java.util.Map<java.lang.String,​java.lang.String> paths  
    • Constructor Summary

      Constructors 
      Constructor Description
      RpmDb()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static void buildDatabase()  
      private static java.lang.Iterable<java.lang.String> execQuery​(java.lang.String query)  
      java.lang.String lookupPath​(java.lang.String path)  
      java.lang.String lookupPath​(java.nio.file.Path path)  
      • Methods inherited from class java.lang.Object

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

      • paths

        private static java.util.Map<java.lang.String,​java.lang.String> paths
      • LOCK

        private static final java.lang.Object LOCK
    • Constructor Detail

      • RpmDb

        RpmDb()
    • Method Detail

      • execQuery

        private static java.lang.Iterable<java.lang.String> execQuery​(java.lang.String query)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • buildDatabase

        private static void buildDatabase()
      • lookupPath

        public java.lang.String lookupPath​(java.lang.String path)
      • lookupPath

        public java.lang.String lookupPath​(java.nio.file.Path path)