private List<DroolsBuildMarker> parseXLSFile(final IFile file) {
return parseResource( new ResourceParser() {
public DRLInfo parseResource() throws DroolsParserException,
DecisionTableParseException,
CoreException {
SpreadsheetCompiler converter = new SpreadsheetCompiler();
String drl = converter.compile( file.getContents(), InputType.XLS );
return DroolsEclipsePlugin.getDefault().parseXLSResource( drl, file );
}
} );
}