com.hp.hpl.jena.rdf.model
Class ModelFactoryBase
java.lang.Object
com.hp.hpl.jena.rdf.model.ModelFactoryBase
- Direct Known Subclasses:
- ModelFactory
public class ModelFactoryBase
- extends Object
Helper functions for ModelFactory - in here to keep from obtruding on the
end-users.
- Author:
- kers
ModelFactoryBase
public ModelFactoryBase()
guessDBURL
public static String guessDBURL()
guessDBUser
public static String guessDBUser()
guessDBPassword
public static String guessDBPassword()
guessDBType
public static String guessDBType()
guessDBDriver
public static String guessDBDriver()
guessDBConcurrent
public static boolean guessDBConcurrent()
- Return true if the database should support concurrent read during transactions
extractType
public static String extractType(String dbURL)
- Guess the database type as the string between the first and second colons of the
URL. This method is public so that it may be invoked from test packages.
- Parameters:
dbURL
- a string of the form nocolons:somename:somestuff
- Returns:
- somename
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP