};
public FileSourceLoader(File base) {
super();
if (base == null || !base.exists() || !base.isDirectory()) {
throw new AuraRuntimeException(String.format("Base directory %s does not exist", base == null ? "null"
: base.getAbsolutePath()));
}
try {
this.base = base.getCanonicalFile();
} catch (IOException ioe) {
throw new AuraRuntimeException(String.format("IOException accessing base directory %s",
base.getAbsolutePath()), ioe);
}
this.baseLen = base.getPath().length();
// add the namespace root to the file monitor