com.hp.hpl.jena.rdf.query.util
Class ModelLoader

java.lang.Object
  |
  +--com.hp.hpl.jena.rdf.query.util.ModelLoader

public class ModelLoader
extends java.lang.Object


Field Summary
static java.lang.String basename
           
static java.lang.String defaultLanguage
           
static java.lang.String langBDB
           
static java.lang.String langN3
           
static java.lang.String langNTriple
           
static java.lang.String langSQL
           
static java.lang.String langXML
           
static java.lang.String langXMLAbbrev
           
static boolean useARP
           
 
Constructor Summary
ModelLoader()
           
 
Method Summary
static java.lang.String guessLang(java.lang.String urlStr)
           
static Model loadModel(Model model, java.lang.String urlStr, java.lang.String lang)
           
static Model loadModel(java.lang.String urlStr, java.lang.String lang)
           
static Model loadModel(java.lang.String urlStr, java.lang.String lang, java.lang.String dbUser, java.lang.String dbPassword)
           
static void setFileBase(java.lang.String _basename)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

langXML

public static final java.lang.String langXML

langXMLAbbrev

public static final java.lang.String langXMLAbbrev

langNTriple

public static final java.lang.String langNTriple

langN3

public static final java.lang.String langN3

langBDB

public static final java.lang.String langBDB

langSQL

public static final java.lang.String langSQL

defaultLanguage

public static java.lang.String defaultLanguage

basename

public static java.lang.String basename

useARP

public static boolean useARP
Constructor Detail

ModelLoader

public ModelLoader()
Method Detail

loadModel

public static Model loadModel(java.lang.String urlStr,
                              java.lang.String lang)

loadModel

public static Model loadModel(java.lang.String urlStr,
                              java.lang.String lang,
                              java.lang.String dbUser,
                              java.lang.String dbPassword)

loadModel

public static Model loadModel(Model model,
                              java.lang.String urlStr,
                              java.lang.String lang)
                       throws RDFException,
                              java.io.FileNotFoundException

guessLang

public static java.lang.String guessLang(java.lang.String urlStr)

setFileBase

public static void setFileBase(java.lang.String _basename)


Copyright 2001 Hewlett-Packard. All Rights Reserved.