|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.boot.CompareJarsUtil
This class is called from CompareJarsUtil and MakeJar. It is the smarts behind both classes. The constructor, compareJars, and getEntryNames methods were taken directly from the old CompareJarsClass. This returns true if the jars are different.
Field Summary | |
private File |
newJar
|
private File |
origJar
|
private Set |
resourcesToIgnoreDate
|
private boolean |
shouldIgnoreManifestDiffs
We really should compare portions of manifest except for certain entries like the creating JDK or Ant version. |
Constructor Summary | |
CompareJarsUtil(File origJar,
File newJar)
Creates a new instance of CompareJarsUtil |
|
CompareJarsUtil(File origJar,
File newJar,
boolean shouldIgnoreManifestDiffs)
Creates a new instance of CompareJarsUtil |
Method Summary | |
private boolean |
compareJars()
Returns true if differences are found in the jars |
private static SortedSet |
getEntryNames(ZipFile zipFile)
|
boolean |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private File origJar
private File newJar
private boolean shouldIgnoreManifestDiffs
private Set resourcesToIgnoreDate
Constructor Detail |
public CompareJarsUtil(File origJar, File newJar)
public CompareJarsUtil(File origJar, File newJar, boolean shouldIgnoreManifestDiffs)
Method Detail |
public boolean run() throws IOException
IOException
private boolean compareJars() throws IOException
IOException
private static SortedSet getEntryNames(ZipFile zipFile)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |