added a getter for the FileTypeAnalyzers to resolve a problem while fixing issue #173

Former-commit-id: 359b9e41a03bd2bd0c9c63e437540bf082c7c92d
This commit is contained in:
Jeremy Long
2014-12-26 07:04:45 -05:00
parent dfaa5df965
commit af8c807ee0

View File

@@ -153,6 +153,11 @@ public class Engine {
return dependencies;
}
/**
* Sets the dependencies.
*
* @param dependencies the dependencies
*/
public void setDependencies(List<Dependency> dependencies) {
this.dependencies = dependencies;
}
@@ -323,7 +328,7 @@ public class Engine {
}
} else {
final String msg = String.format("No file extension found on file '%s'. The file was not analyzed.", file.toString());
LOGGER.log(Level.FINEST, msg);
LOGGER.log(Level.FINE, msg);
}
return dependency;
}
@@ -513,6 +518,15 @@ public class Engine {
return scan;
}
/**
* Returns the set of file type analyzers.
*
* @return the set of file type analyzers
*/
public Set<FileTypeAnalyzer> getFileTypeAnalyzers() {
return this.fileTypeAnalyzers;
}
/**
* Checks the CPE Index to ensure documents exists. If none exist a NoDataException is thrown.
*