Class CoreEstablishSQLite

    • Constructor Summary

      Constructors 
      Constructor Description
      CoreEstablishSQLite​(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull java.io.File file)  
      CoreEstablishSQLite​(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Connection openConnection()
      Open the connect to SQL
      • Methods inherited from class java.lang.Object

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

      • CoreEstablishSQLite

        public CoreEstablishSQLite​(@NotNull
                                   @NotNull org.bukkit.plugin.Plugin plugin,
                                   @NotNull
                                   @NotNull java.io.File file)
                            throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • CoreEstablishSQLite

        public CoreEstablishSQLite​(@NotNull
                                   @NotNull org.bukkit.plugin.Plugin plugin,
                                   @NotNull
                                   @NotNull java.lang.String name)
                            throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
    • Method Detail

      • openConnection

        public java.sql.Connection openConnection()
                                           throws java.sql.SQLException
        Description copied from interface: ICoreEstablish
        Open the connect to SQL
        Specified by:
        openConnection in interface ICoreEstablish
        Returns:
        the SQL connection class (Connection)
        Throws:
        java.sql.SQLException - When the SQL cannot connect by errors