com.hp.hpl.jena.sparql.lib
Class Metadata

java.lang.Object
  extended by com.hp.hpl.jena.sparql.lib.Metadata

public class Metadata
extends Object

Simple wrapper for reading metadata, once, from a system resource. Note that in some environments, it's tricky to get a class loader.


Constructor Summary
Metadata()
           
Metadata(String resourceName)
           
 
Method Summary
 void addMetadata(String resourceName)
           
 String get(String name)
           
 String get(String name, String defaultValue)
           
 Properties getProperties()
           
 List<String> getResources()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Metadata

public Metadata()

Metadata

public Metadata(String resourceName)
Method Detail

addMetadata

public void addMetadata(String resourceName)

get

public String get(String name)

get

public String get(String name,
                  String defaultValue)

getResources

public List<String> getResources()

getProperties

public Properties getProperties()


Licenced under the Apache License, Version 2.0