com.j256.ormlite.db
Class DatabaseTypeUtils
java.lang.Object
com.j256.ormlite.db.DatabaseTypeUtils
public class DatabaseTypeUtils
- extends Object
Utility class which helps with managing database specific classes.
- Author:
- graywatson
Method Summary |
static com.j256.ormlite.db.DatabaseType |
createDatabaseType(String databaseUrl)
Creates and returns a DatabaseType for the database URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createDatabaseType
public static com.j256.ormlite.db.DatabaseType createDatabaseType(String databaseUrl)
- Creates and returns a
DatabaseType
for the database URL.
- Throws:
IllegalArgumentException
- if the url format is not recognized, the database type is unknown, or the class could not be
constructed.
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.