com.hp.hpl.jena.eyeball.loaders
Class FileLoader

java.lang.Object
  extended by com.hp.hpl.jena.eyeball.loaders.FileLoader
All Implemented Interfaces:
Loader

public class FileLoader
extends java.lang.Object
implements Loader

A FileLoader wraps a FileManager, providing only the load(String) method, and intercepting names of the form "via:ROOT@FILE" to load the model described by ROOT in the assembly file FILE.


Field Summary
protected  com.hp.hpl.jena.util.FileManager fm
           
 
Constructor Summary
FileLoader()
          Initialise this FileLoader with the default file manager, FileManager.get().
FileLoader(com.hp.hpl.jena.util.FileManager fm)
          Initialise this FileLoader with the specified FileManager.
 
Method Summary
 com.hp.hpl.jena.util.FileManager getFileManager()
          Answer the FileManager this FileLoader uses to locate and load files.
 com.hp.hpl.jena.rdf.model.Model load(java.lang.String s)
          Answer the model returned by our FileManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fm

protected final com.hp.hpl.jena.util.FileManager fm
Constructor Detail

FileLoader

public FileLoader(com.hp.hpl.jena.util.FileManager fm)
Initialise this FileLoader with the specified FileManager.


FileLoader

public FileLoader()
Initialise this FileLoader with the default file manager, FileManager.get().

Method Detail

load

public com.hp.hpl.jena.rdf.model.Model load(java.lang.String s)
Answer the model returned by our FileManager.

Specified by:
load in interface Loader

getFileManager

public com.hp.hpl.jena.util.FileManager getFileManager()
Answer the FileManager this FileLoader uses to locate and load files.