ua.gradsoft.termware.termloaders
Class FileSystemTermLoader

java.lang.Object
  extended by ua.gradsoft.termware.TermLoader
      extended by ua.gradsoft.termware.termloaders.FileSystemTermLoader

public class FileSystemTermLoader
extends TermLoader

Loader for terms from file system.


Field Summary
 
Fields inherited from class ua.gradsoft.termware.TermLoader
instance_
 
Method Summary
 void addSearchPath(String path)
          add search path
 List<String> getSearchPathes()
          return read-only list of searh patches.
 InputStreamSource getSource(String name)
          locate source by absolute name.
 
Methods inherited from class ua.gradsoft.termware.TermLoader
load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSource

public InputStreamSource getSource(String name)
                            throws ResourceNotFoundException,
                                   ExternalException
Description copied from class: TermLoader
locate source by absolute name.

Specified by:
getSource in class TermLoader
Throws:
ResourceNotFoundException
ExternalException

addSearchPath

public void addSearchPath(String path)
Description copied from class: TermLoader
add search path

Specified by:
addSearchPath in class TermLoader

getSearchPathes

public List<String> getSearchPathes()
                             throws ExternalException
Description copied from class: TermLoader
return read-only list of searh patches.

Specified by:
getSearchPathes in class TermLoader
Throws:
ExternalException