try {
List<MetExtractorSpec> specs = this.mimeExtractorRepo
.getExtractorSpecsForFile(product);
if (specs.size() > 0) {
if (this.getApplicationContext() != null) {
PreCondEvalUtils evalUtils = new PreCondEvalUtils(
this.getApplicationContext());
for (int i = 0; i < specs.size(); i++) {
List<String> preCondComparatorIds = ((MetExtractorSpec) specs
.get(i)).getPreCondComparatorIds();
if (!evalUtils.eval(preCondComparatorIds, product))
return false;
}
}
return true;
} else {