ua.gradsoft.termware.termloaders
Class ClassPathTermLoader
java.lang.Object
ua.gradsoft.termware.TermLoader
ua.gradsoft.termware.termloaders.ClassPathTermLoader
public class ClassPathTermLoader
- extends TermLoader
TermLoader, which load terms from current classpath.
- Author:
- Ruslan Shevchenko
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPathTermLoader
public ClassPathTermLoader()
- Creates a new instance of ClassPathTermLoader
addSearchPath
public void addSearchPath(String path)
- do nothing
- Specified by:
addSearchPath in class TermLoader
getSearchPathes
public List<String> getSearchPathes()
- return empty list
- Specified by:
getSearchPathes in class TermLoader
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