Class DBName

java.lang.Object
fc.jdbc.DBName

public final class DBName extends Object
Enumerates database names. Useful for methods that must be customized for each type of database.
  • Field Details

  • Method Details

    • fromDriver

      public static DBName fromDriver(String driver_name)
      Returns the DBName corresponding to the specified jdbc driver or null if the jdbc driver could not be parsed.
      Parameters:
      driver_name - a jdbc driver name such as com.mysql.jdbc.Driver or org.postgresql.Driver
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • main

      public static void main(String[] args)