public class DiffPrint extends Object
Diff
.This program 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 1, 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
bmsi.util.Diff
Modifier and Type | Class and Description |
---|---|
static class |
DiffPrint.Base
A Base class for printing edit scripts produced by Diff.
|
static class |
DiffPrint.ContextPrint
Prints an edit script in context diff format.
|
static class |
DiffPrint.EdPrint
Prints an edit script in a format suitable for input to
ed . |
static class |
DiffPrint.NormalPrint
Print a change list in the standard diff format.
|
static class |
DiffPrint.UnifiedPrint
Prints an edit script in context diff format.
|
Constructor and Description |
---|
DiffPrint() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] argv) |
(package private) static String[] |
slurp(String file)
Read a text file into an array of String.
|
public DiffPrint()
static String[] slurp(String file) throws IOException
IOException
public static void main(String[] argv) throws IOException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses