Package | Description |
---|---|
org.osjava.jardiff |
Modifier and Type | Method and Description |
---|---|
void |
DOMDiffHandler.classAdded(ClassInfo info)
Write out the class info for an added class.
|
void |
StreamDiffHandler.classAdded(ClassInfo info)
Write out the class info for an added class.
|
void |
DiffHandler.classAdded(ClassInfo classinfo)
Notification that a class was added.
|
void |
DOMDiffHandler.classChanged(ClassInfo oldInfo,
ClassInfo newInfo)
Write out info aboout a changed class.
|
void |
StreamDiffHandler.classChanged(ClassInfo oldInfo,
ClassInfo newInfo)
Write out info aboout a changed class.
|
void |
DiffHandler.classChanged(ClassInfo oldClassinfo,
ClassInfo newClassinfo)
The current class has changed.
|
void |
DOMDiffHandler.classRemoved(ClassInfo info)
Write out class info for a removed class.
|
void |
StreamDiffHandler.classRemoved(ClassInfo info)
Write out class info for a removed class.
|
void |
DiffHandler.classRemoved(ClassInfo classinfo)
Notification that a class was removed.
|
void |
DOMDiffHandler.contains(ClassInfo info)
Add a contained class.
|
void |
StreamDiffHandler.contains(ClassInfo info)
Add a contained class.
|
void |
DiffHandler.contains(ClassInfo info)
Add a contained class.
|
void |
JarDiff.diff(DiffHandler handler,
DiffCriteria criteria)
Perform a diff sending the output to the specified handler, using
the specified criteria to select diffs.
|
void |
DOMDiffHandler.endAdded()
End the added section.
|
void |
StreamDiffHandler.endAdded()
End the added section.
|
void |
DiffHandler.endAdded()
End of list of removed classes.
|
void |
DOMDiffHandler.endChanged()
End the changed section.
|
void |
StreamDiffHandler.endChanged()
End the changed section.
|
void |
DiffHandler.endChanged()
End of class changes.
|
void |
DOMDiffHandler.endClassChanged()
End the changed section for an individual class.
|
void |
StreamDiffHandler.endClassChanged()
End the changed section for an individual class.
|
void |
DiffHandler.endClassChanged()
End of changes for the current class.
|
void |
DOMDiffHandler.endDiff()
End the diff.
|
void |
StreamDiffHandler.endDiff()
End the diff.
|
void |
DiffHandler.endDiff()
End of the diff.
|
void |
DOMDiffHandler.endNewContents()
End the list of new contents.
|
void |
StreamDiffHandler.endNewContents()
End the list of new contents.
|
void |
DiffHandler.endNewContents()
End the list of new contents.
|
void |
DOMDiffHandler.endOldContents()
End the list of old contents.
|
void |
StreamDiffHandler.endOldContents()
End the list of old contents.
|
void |
DiffHandler.endOldContents()
End the list of old contents.
|
void |
DOMDiffHandler.endRemoved()
End the removed section.
|
void |
StreamDiffHandler.endRemoved()
End the removed section.
|
void |
DiffHandler.endRemoved()
End of list of removed classes.
|
void |
DOMDiffHandler.fieldAdded(FieldInfo info)
Write out info about an added field.
|
void |
StreamDiffHandler.fieldAdded(FieldInfo info)
Write out info about an added field.
|
void |
DiffHandler.fieldAdded(FieldInfo fieldinfo)
The field was added for the current class that has changed.
|
void |
DOMDiffHandler.fieldChanged(FieldInfo oldInfo,
FieldInfo newInfo)
Write out info aboout a changed field.
|
void |
StreamDiffHandler.fieldChanged(FieldInfo oldInfo,
FieldInfo newInfo)
Write out info aboout a changed field.
|
void |
DiffHandler.fieldChanged(FieldInfo oldFieldinfo,
FieldInfo newFieldinfo)
A field on the current class has changed.
|
void |
DOMDiffHandler.fieldRemoved(FieldInfo info)
Write out info about a removed field.
|
void |
StreamDiffHandler.fieldRemoved(FieldInfo info)
Write out info about a removed field.
|
void |
DiffHandler.fieldRemoved(FieldInfo fieldinfo)
The field was removed for the current class that has changed.
|
private void |
JarDiff.loadClasses(java.util.Map infoMap,
java.io.File file)
Load all the classes from the specified URL and store information
about them in the specified map.
|
private void |
JarDiff.loadClasses(java.util.Map infoMap,
java.net.URL path)
Load all the classes from the specified URL and store information
about them in the specified map.
|
void |
JarDiff.loadNewClasses(java.io.File file)
Load new classes from the specified File.
|
void |
JarDiff.loadNewClasses(java.net.URL loc)
Load new classes from the specified URL.
|
void |
JarDiff.loadOldClasses(java.io.File file)
Load old classes from the specified File.
|
void |
JarDiff.loadOldClasses(java.net.URL loc)
Load old classes from the specified URL.
|
void |
DOMDiffHandler.methodAdded(MethodInfo info)
Write out info about a added method.
|
void |
StreamDiffHandler.methodAdded(MethodInfo info)
Write out info about a added method.
|
void |
DiffHandler.methodAdded(MethodInfo methodinfo)
The method was added for the current class that has changed.
|
void |
DOMDiffHandler.methodChanged(MethodInfo oldInfo,
MethodInfo newInfo)
Write out info aboout a changed method.
|
void |
StreamDiffHandler.methodChanged(MethodInfo oldInfo,
MethodInfo newInfo)
Write out info aboout a changed method.
|
void |
DiffHandler.methodChanged(MethodInfo oldMethodInfo,
MethodInfo newMethodInfo)
A method on the current class has changed.
|
void |
DOMDiffHandler.methodRemoved(MethodInfo info)
Write out info about a removed method.
|
void |
StreamDiffHandler.methodRemoved(MethodInfo info)
Write out info about a removed method.
|
void |
DiffHandler.methodRemoved(MethodInfo methodinfo)
The method was removed for the current class that has changed.
|
void |
DOMDiffHandler.startAdded()
Start the added section.
|
void |
StreamDiffHandler.startAdded()
Start the added section.
|
void |
DiffHandler.startAdded()
Start of list of added classes.
|
void |
DOMDiffHandler.startChanged()
Start the changed section.
|
void |
StreamDiffHandler.startChanged()
Start the changed section.
|
void |
DiffHandler.startChanged()
Start list of changed classes.
|
void |
DOMDiffHandler.startClassChanged(java.lang.String internalName)
Start a changed section for an individual class.
|
void |
StreamDiffHandler.startClassChanged(java.lang.String internalName)
Start a changed section for an individual class.
|
void |
DiffHandler.startClassChanged(java.lang.String string)
Start information about class changes for the classname passed.
|
void |
DOMDiffHandler.startDiff(java.lang.String oldJar,
java.lang.String newJar)
Start the diff.
|
void |
StreamDiffHandler.startDiff(java.lang.String oldJar,
java.lang.String newJar)
Start the diff.
|
void |
DiffHandler.startDiff(java.lang.String a,
java.lang.String b)
Start a diff between two versions, where string a is the old version
and string b is the new version.
|
void |
DOMDiffHandler.startNewContents()
Start the list of old contents.
|
void |
StreamDiffHandler.startNewContents()
Start the list of old contents.
|
void |
DiffHandler.startNewContents()
Start the list of new contents.
|
void |
DOMDiffHandler.startOldContents()
Start the list of old contents.
|
void |
StreamDiffHandler.startOldContents()
Start the list of old contents.
|
void |
DiffHandler.startOldContents()
Start the list of old contents.
|
void |
DOMDiffHandler.startRemoved()
Start the removed node.
|
void |
StreamDiffHandler.startRemoved()
Start the removed node.
|
void |
DiffHandler.startRemoved()
Start the list of removed classes.
|
Constructor and Description |
---|
DOMDiffHandler()
Create a new DOMDiffHandler which writes to System.out
|
DOMDiffHandler(javax.xml.transform.Transformer transformer,
javax.xml.transform.Result result)
Create a new DOMDiffHandler with the specified Transformer and Result.
|
StreamDiffHandler()
Create a new StreamDiffHandler which writes to System.out
|
StreamDiffHandler(java.io.OutputStream out)
Create a new StreamDiffHandler with the specified OutputStream.
|