Class TDBOps


  • public class TDBOps
    extends java.lang.Object
    Operations related to TDB1 and TDB2
    • Constructor Summary

      Constructors 
      Constructor Description
      TDBOps()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkTDB1​(java.lang.String pathname)
      Check whether a location is a TDB1 database, performing some validation checks.
      static void checkTDB2​(java.lang.String pathname)
      Check whether a location is a TDB2 database, performing some validation checks.
      static boolean isTDB1​(java.lang.String pathname)
      Test to see is a location appears to be a TDB1 database, or a database can be created at the pathname.
      static boolean isTDB2​(java.lang.String pathname)
      Test to see is a location appears to be a TDB2 database, or a database can be created at the pathname.
      • Methods inherited from class java.lang.Object

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

      • TDBOps

        public TDBOps()
    • Method Detail

      • isTDB1

        public static boolean isTDB1​(java.lang.String pathname)
        Test to see is a location appears to be a TDB1 database, or a database can be created at the pathname.
      • checkTDB1

        public static void checkTDB1​(java.lang.String pathname)
        Check whether a location is a TDB1 database, performing some validation checks. Throw an exception if invalid. This check passes if a database can be created at the location (i.e. it is empty or does not exist yet). Validation is of the file structure, not the database contents.
      • isTDB2

        public static boolean isTDB2​(java.lang.String pathname)
        Test to see is a location appears to be a TDB2 database, or a database can be created at the pathname.
      • checkTDB2

        public static void checkTDB2​(java.lang.String pathname)
        Check whether a location is a TDB2 database, performing some validation checks. Throw an exception if invalid. This check passes if a database can be created at the location (i.e. it is empty or does not exist yet). Validation is of the file structure, not the database contents.