de.fuberlin.wiwiss.d2rq.server
Class ConfigLoader
java.lang.Object
de.fuberlin.wiwiss.d2rq.server.ConfigLoader
public class ConfigLoader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LIMIT_PER_CLASS_MAP
public static final int DEFAULT_LIMIT_PER_CLASS_MAP
- See Also:
- Constant Field Values
DEFAULT_LIMIT_PER_PROPERTY_BRIDGE
public static final int DEFAULT_LIMIT_PER_PROPERTY_BRIDGE
- See Also:
- Constant Field Values
ConfigLoader
public ConfigLoader(String configURL)
- Parameters:
configURL
- Config file URL, or null
for an empty config
toAbsoluteURI
public static String toAbsoluteURI(String fileName)
- Accepts an absolute URI, relative file: URI, or plain file name
(including names with spaces, Windows backslashes etc) and returns an
equivalent full absolute URI.
load
public void load()
isLocalMappingFile
public boolean isLocalMappingFile()
getLocalMappingFilename
public String getLocalMappingFilename()
port
public int port()
baseURI
public String baseURI()
serverName
public String serverName()
getVocabularyIncludeInstances
public boolean getVocabularyIncludeInstances()
getLimitPerClassMap
public int getLimitPerClassMap()
getLimitPerPropertyBridge
public int getLimitPerPropertyBridge()
getAutoReloadMapping
public boolean getAutoReloadMapping()
getPageTimeout
public double getPageTimeout()
getSPARQLTimeout
public double getSPARQLTimeout()
addDocumentMetadata
public void addDocumentMetadata(Model document,
Resource documentResource)
findServerResource
protected Resource findServerResource()
findDatabaseResource
protected Resource findDatabaseResource()
getResourceMetadataTemplate
protected Model getResourceMetadataTemplate(D2RServer server,
javax.servlet.ServletContext context)
getDatasetMetadataTemplate
protected Model getDatasetMetadataTemplate(D2RServer server,
javax.servlet.ServletContext context)
serveMetadata
protected boolean serveMetadata()