net.craftforge.commons.database.memory
Class InMemoryUtils

java.lang.Object
  extended by net.craftforge.commons.database.memory.InMemoryUtils

public class InMemoryUtils
extends Object

The in-memory utils provide common algorithms for in-memory database management.

Since:
04.08.11
Author:
Christian Bick

Constructor Summary
InMemoryUtils()
           
 
Method Summary
static String[] getSqlStatementsFromResource(String sqlScriptResource)
          Gets the SQL statements from an SQL script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryUtils

public InMemoryUtils()
Method Detail

getSqlStatementsFromResource

public static String[] getSqlStatementsFromResource(String sqlScriptResource)
                                             throws IOException
Gets the SQL statements from an SQL script.

Parameters:
sqlScriptResource - The SQL script resource
Returns:
The SQL statements
Throws:
IOException - if the resource loading fails


Copyright © 2011. All Rights Reserved.