public class Diff extends Object
Constructor and Description |
---|
Diff() |
Modifier and Type | Method and Description |
---|---|
static void |
dirsAsTypeSystems(File dir1,
File dir2,
List diffs)
Diffs the contents of two dirs looking only at the xsb files
contained in these two dirs
Updated diffs with a list of differences (for the time being, strings
describing the difference)
|
static void |
filesAsXsb(File file1,
File file2,
List diffs)
Diffs the two given files assuming they are in xsb format
Updates diffs with differences in string format
|
static void |
jarsAsTypeSystems(JarFile jar1,
JarFile jar2,
List diffs)
Diffs the contents of two jars, looking only at the schema typesystems
saved inside those jars
|
static void |
main(String[] args) |
static void |
readersAsText(Reader r1,
String name1,
Reader r2,
String name2,
List diffs) |
static void |
streamsAsXsb(InputStream stream1,
String name1,
InputStream stream2,
String name2,
List diffs) |
static void |
zipEntriesAsXsb(ZipEntry file1,
JarFile jar1,
ZipEntry file2,
JarFile jar2,
List diffs) |
public static void main(String[] args)
public static void jarsAsTypeSystems(JarFile jar1, JarFile jar2, List diffs)
public static void dirsAsTypeSystems(File dir1, File dir2, List diffs)
public static void filesAsXsb(File file1, File file2, List diffs)
public static void zipEntriesAsXsb(ZipEntry file1, JarFile jar1, ZipEntry file2, JarFile jar2, List diffs)
public static void streamsAsXsb(InputStream stream1, String name1, InputStream stream2, String name2, List diffs) throws IOException
IOException
public static void readersAsText(Reader r1, String name1, Reader r2, String name2, List diffs) throws IOException
IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved