public class H2SpatialUtils
extends java.lang.Object
Constructor and Description |
---|
H2SpatialUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addGlobalConnection(H2SpatialHelper.H2SpatialConnectionProvider connectionProvider) |
static void |
closeGlobalConnections() |
static boolean |
existsH2db(java.io.File f) |
static java.lang.String |
getConnectionProviderKey(JDBCConnectionParameters connectionParameters) |
static java.lang.String |
getConnectionURL(H2SpatialConnectionParameters params) |
static java.io.File[] |
getH2Files(java.io.File f) |
static java.io.File |
getLocalFile(H2SpatialConnectionParameters params) |
static boolean |
is_enable_server() |
static boolean |
is_server_started() |
static java.io.File |
normalizeH2File(java.io.File f) |
static java.lang.String |
normalizeH2FileName(java.lang.String name) |
static boolean |
removeH2db(java.io.File f) |
static java.lang.String |
removeH2FileNameExtension(java.lang.String name) |
static void |
server_start() |
static void |
server_start(java.lang.String port,
java.lang.Boolean allowOthers) |
static void |
server_stop() |
static void |
set_enable_server(boolean enable) |
static void |
set_server_port(int port) |
public static java.io.File[] getH2Files(java.io.File f)
public static boolean existsH2db(java.io.File f)
public static boolean removeH2db(java.io.File f)
public static java.io.File normalizeH2File(java.io.File f)
public static java.lang.String normalizeH2FileName(java.lang.String name)
public static java.lang.String removeH2FileNameExtension(java.lang.String name)
public static java.io.File getLocalFile(H2SpatialConnectionParameters params)
public static java.lang.String getConnectionURL(H2SpatialConnectionParameters params)
public static void server_stop()
public static void server_start()
public static void server_start(java.lang.String port, java.lang.Boolean allowOthers)
public static void set_enable_server(boolean enable)
public static void set_server_port(int port)
public static boolean is_enable_server()
public static boolean is_server_started()
public static void addGlobalConnection(H2SpatialHelper.H2SpatialConnectionProvider connectionProvider) throws java.sql.SQLException
java.sql.SQLException
public static java.lang.String getConnectionProviderKey(JDBCConnectionParameters connectionParameters)
public static void closeGlobalConnections()