org.quattor.pan.repository
Class OptimizedSourceLocator
java.lang.Object
org.quattor.pan.repository.OptimizedSourceLocator
public class OptimizedSourceLocator
- extends Object
This class encapsulates the template lookup mechanism. An instance contains
static references to the defined session directory (if any) and include
directories (if any). If no include directories are supplied, then the
current working directory is added as the only include directory.
The implementation currently only works with a file system. Future
implementations may extend this to include other storage mechanisms, e.g.
databases.
- Author:
- loomis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimizedSourceLocator
public OptimizedSourceLocator(File sessionDirectory,
List<File> includeDirectories)
lookup
public File lookup(String name)
lookup
public File lookup(String name,
String suffix)
lookup
public File lookup(String name,
List<String> loadpath)
lookup
public File lookup(String name,
String suffix,
List<String> loadpath)
Copyright © 2011 Quattor. All Rights Reserved.