GruntspudDiffParser.java :  » Source-Control » gruntspud » gruntspud » standalone » Java Open Source

Java Open Source » Source Control » gruntspud 
gruntspud » gruntspud » standalone » GruntspudDiffParser.java
/*
 *  Gruntspud
 *
 *  Copyright (C) 2002 Brett Smith.
 *
 *  Written by: Brett Smith <t_magicthize@users.sourceforge.net>
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public License
 *  as published by the Free Software Foundation; either version 2 of
 *  the License, or (at your option) any later version.
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public
 *  License along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
/*
   Copyright 2001 Nicholas Allen (nallen@freenet.co.uk)
   This file is part of JavaCVS.
   JavaCVS is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
   JavaCVS is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   You should have received a copy of the GNU General Public License
   along with JavaCVS; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package gruntspud.standalone;

import java.io.BufferedReader;
import java.io.Reader;

import allensoft.diff.DiffException;
import allensoft.diff.DiffParser;
import allensoft.diff.Difference;

/**
 * DOCUMENT ME!
 *
 * @author $author$
 */
public class GruntspudDiffParser
    implements DiffParser {
    private BufferedReader differences;

    /**
     * Creates a new GruntspudDiffParser object.
     *
     * @param differences DOCUMENT ME!
     */
    public GruntspudDiffParser(Reader differences) {
        differences = new BufferedReader(differences);
    }

    /*
       463,465d462
       <         DiffViewerView v = new DiffViewerView(context, f1, f2);
       <         context.getViewManager().addView(v);
       <         context.getViewManager().setSelectedView(v);
       485c482
       <         return "Gruntspud Diff Viewer";
       ---
       >
     */
    public Difference getNextDifference() throws DiffException {
        return null;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.