Package org.smooks.testkit
Class HsqlServer
- java.lang.Object
-
- org.smooks.testkit.HsqlServer
-
public class HsqlServer extends Object
- Author:
-
-
Constructor Summary
Constructors Constructor Description HsqlServer(int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execScript(InputStream script)
Connection
getConnection()
String
getPassword()
int
getState()
String
getUrl()
String
getUsername()
void
stop()
-
-
-
Method Detail
-
execScript
public void execScript(InputStream script) throws SQLException, IOException, org.hsqldb.cmdline.SqlToolError
- Throws:
SQLException
IOException
org.hsqldb.cmdline.SqlToolError
-
getConnection
public Connection getConnection()
-
getUrl
public String getUrl()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getState
public int getState()
-
-