public void parse(File file) throws IOException { // don't overwrite if we already have a filename/location if (errorContext == null) setErrorContext(file.getAbsolutePath()); parse(new FileInputStream(file)); }
public void parse(File file) throws IOException { // don't overwrite if we already have a filename/location if (errorContext == null) setErrorContext(file.getAbsolutePath()); parse(new FileInputStream(file)); }
CompositeParser repositoryParser = new CompositeParser(Activator.getContext(), Activator.ID, type); repositoryParser.setErrorContext(location.toExternalForm()); repositoryParser.parse(input); IStatus result = repositoryParser.getStatus(); switch (result.getSeverity()) {
CompositeParser repositoryParser = new CompositeParser(Activator.getContext(), Activator.ID, type); repositoryParser.setErrorContext(location.toExternalForm()); repositoryParser.parse(input); IStatus result = repositoryParser.getStatus(); switch (result.getSeverity()) {