Package net.sourceforge.processdash.tool.diff.impl.file

Examples of net.sourceforge.processdash.tool.diff.impl.file.FileSystemFileSet


    public FileAnalysisSet getFileAnalysisSet(DiffEngine engine)
            throws PanelInvalidException {
        recalculateEnablement();

        FileSystemFileSet fileSet = new FileSystemFileSet();
        if (compareOption.isSelected()) {
            fileSet.addFile(getFileForField(fileA));
            fileSet.addFile(getFileForField(fileB));
            boolean shouldCountIdentical = countIdentical.isEnabled()
                    && countIdentical.isSelected();
            engine.setSkipIdenticalFiles(shouldCountIdentical == false);
        } else {
            fileSet.addFile(getFileForField(fileA));
            engine.setSkipIdenticalFiles(false);
        }
       
        try {
            fileSet.validate();
        } catch (FileSystemDiffException.FileNotFound e) {
            throw new PanelInvalidException(resources.format(
                "Dialog.File.File_Not_Found_FMT", e.getMissingFile().getPath()));
        } catch (FileSystemDiffException.TypeMismatch e) {
            throw new PanelInvalidException(resources.getStrings(
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.tool.diff.impl.file.FileSystemFileSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.