A C D E F G I J L M N O R S T V W X

A

ACCESS_PACKAGE - Variable in class org.osjava.jardiff.AbstractInfo
The string used to represent a class, method or field with package private access.
ACCESS_PRIVATE - Variable in class org.osjava.jardiff.AbstractInfo
The string used to represent a class, method or field with private access.
ACCESS_PROTECTED - Variable in class org.osjava.jardiff.AbstractInfo
The string used to represent a class, method or field with protected access.
ACCESS_PUBLIC - Variable in class org.osjava.jardiff.AbstractInfo
The string used to represent a class, method or field with public access.
AbstractDiffHandler - class org.osjava.jardiff.AbstractDiffHandler.
An abstract implementation of DiffHandler which provides utility methods.
AbstractDiffHandler() - Constructor for class org.osjava.jardiff.AbstractDiffHandler
 
AbstractInfo - class org.osjava.jardiff.AbstractInfo.
An abstract class representing information about a class, method or field.
AbstractInfo(int, String) - Constructor for class org.osjava.jardiff.AbstractInfo
Construct a new AbstractInfo with the specified access and name.
addAccessFlags(AbstractInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Add attributes describing some access flags.
addAccessFlags(AbstractInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Add attributes describing some access flags.
addMethodNodes(String) - Method in class org.osjava.jardiff.DOMDiffHandler
Add the method nodes for the method descriptor.
addMethodNodes(String) - Method in class org.osjava.jardiff.SAXDiffHandler
Add the method nodes for the method descriptor.
addTypeNode(String) - Method in class org.osjava.jardiff.DOMDiffHandler
Add a type node for the specified descriptor.
addTypeNode(Type) - Method in class org.osjava.jardiff.DOMDiffHandler
Add a type node for the specified type.
addTypeNode(String) - Method in class org.osjava.jardiff.SAXDiffHandler
Add a type node for the specified descriptor.
addTypeNode(Type) - Method in class org.osjava.jardiff.SAXDiffHandler
Add a type node for the specified type.
attr - Variable in class org.osjava.jardiff.SAXDiffHandler
A reusable AttributesImpl to avoid having to instantiate this class all over the place throughout the handler.

C

ClassInfo - class org.osjava.jardiff.ClassInfo.
Information about a class file.
ClassInfo(int, int, String, String, String, String[], Map, Map) - Constructor for class org.osjava.jardiff.ClassInfo
Create a new classinfo.
ClassInfoVisitor - class org.osjava.jardiff.ClassInfoVisitor.
A reusable class which uses the ASM to build up ClassInfo about a java class file.
ClassInfoVisitor() - Constructor for class org.osjava.jardiff.ClassInfoVisitor
 
classAdded(ClassInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out the class info for an added class.
classAdded(ClassInfo) - Method in interface org.osjava.jardiff.DiffHandler
Notification that a class was added.
classAdded(ClassInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out the class info for an added class.
classChanged(ClassInfo, ClassInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info aboout a changed class.
classChanged(ClassInfo, ClassInfo) - Method in interface org.osjava.jardiff.DiffHandler
The current class has changed.
classChanged(ClassInfo, ClassInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info aboout a changed class.
classRemoved(ClassInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out class info for a removed class.
classRemoved(ClassInfo) - Method in interface org.osjava.jardiff.DiffHandler
Notification that a class was removed.
classRemoved(ClassInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out class info for a removed class.

D

DOMDiffHandler - class org.osjava.jardiff.DOMDiffHandler.
A specific type of DiffHandler which uses DOM to create an XML document describing the changes in the diff.
DOMDiffHandler() - Constructor for class org.osjava.jardiff.DOMDiffHandler
Create a new DOMDiffHandler which writes to System.out
DOMDiffHandler(Transformer, Result) - Constructor for class org.osjava.jardiff.DOMDiffHandler
Create a new SAXDiffHandler with the specified TransformerHandler.
DiffCriteria - interface org.osjava.jardiff.DiffCriteria.
An interface for choosing which API differences are interesting.
DiffException - exception org.osjava.jardiff.DiffException.
A wrapper exception classes for various exceptions that can happen whilst performing a diff.
DiffException(Exception) - Constructor for class org.osjava.jardiff.DiffException
Create a new DiffException wrapping another exception.
DiffHandler - interface org.osjava.jardiff.DiffHandler.
An interface for classes which wish to receive information about differences in class files between two different jar file version to implement.
depClassInfo - Variable in class org.osjava.jardiff.JarDiff
A map containing information about classes which are dependencies.
diff(DiffHandler, DiffCriteria) - Method in class org.osjava.jardiff.JarDiff
Perform a diff sending the output to the specified handler, using the specified criteria to select diffs.
differs(ClassInfo, ClassInfo) - Method in interface org.osjava.jardiff.DiffCriteria
Check if the differences between the class described by infoA and the class described by infoB are interesting.
differs(MethodInfo, MethodInfo) - Method in interface org.osjava.jardiff.DiffCriteria
Check if the differences between the method described by infoA and the method described by infoB are interesting.
differs(FieldInfo, FieldInfo) - Method in interface org.osjava.jardiff.DiffCriteria
Check if the differences between the field described by infoA and the field described by infoB are interesting.
differs(ClassInfo, ClassInfo) - Method in class org.osjava.jardiff.SimpleDiffCriteria
Check if there is a change between two versions of a class.
differs(MethodInfo, MethodInfo) - Method in class org.osjava.jardiff.SimpleDiffCriteria
Check if there is a change between two versions of a method.
differs(FieldInfo, FieldInfo) - Method in class org.osjava.jardiff.SimpleDiffCriteria
Check if there is a change between two versions of a field.

E

endAdded() - Method in class org.osjava.jardiff.DOMDiffHandler
End the added section.
endAdded() - Method in interface org.osjava.jardiff.DiffHandler
End of list of removed classes.
endAdded() - Method in class org.osjava.jardiff.SAXDiffHandler
End the added section.
endChanged() - Method in class org.osjava.jardiff.DOMDiffHandler
End the changed section.
endChanged() - Method in interface org.osjava.jardiff.DiffHandler
End of class changes.
endChanged() - Method in class org.osjava.jardiff.SAXDiffHandler
End the changed section.
endClassChanged() - Method in class org.osjava.jardiff.DOMDiffHandler
End the changed section for an individual class.
endClassChanged() - Method in interface org.osjava.jardiff.DiffHandler
End of changes for the current class.
endClassChanged() - Method in class org.osjava.jardiff.SAXDiffHandler
End the changed section for an individual class.
endDiff() - Method in class org.osjava.jardiff.DOMDiffHandler
End the diff.
endDiff() - Method in interface org.osjava.jardiff.DiffHandler
End of the diff.
endDiff() - Method in class org.osjava.jardiff.SAXDiffHandler
End the diff.
endRemoved() - Method in class org.osjava.jardiff.DOMDiffHandler
End the removed section.
endRemoved() - Method in interface org.osjava.jardiff.DiffHandler
End of list of removed classes.
endRemoved() - Method in class org.osjava.jardiff.SAXDiffHandler
End the removed section.

F

FieldInfo - class org.osjava.jardiff.FieldInfo.
Information about a field of a class.
FieldInfo(int, String, String, String, Object) - Constructor for class org.osjava.jardiff.FieldInfo
Create a new FieldInfo
fieldAdded(FieldInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info about an added field.
fieldAdded(FieldInfo) - Method in interface org.osjava.jardiff.DiffHandler
The field was added for the current class that has changed.
fieldAdded(FieldInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info about an added field.
fieldChanged(FieldInfo, FieldInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info aboout a changed field.
fieldChanged(FieldInfo, FieldInfo) - Method in interface org.osjava.jardiff.DiffHandler
A field on the current class has changed.
fieldChanged(FieldInfo, FieldInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info aboout a changed field.
fieldRemoved(FieldInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info about a removed field.
fieldRemoved(FieldInfo) - Method in interface org.osjava.jardiff.DiffHandler
The field was removed for the current class that has changed.
fieldRemoved(FieldInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info about a removed field.

G

getAccess() - Method in class org.osjava.jardiff.AbstractInfo
Get the access flags for this class, method or field.
getAccessType() - Method in class org.osjava.jardiff.AbstractInfo
Retrivie the access level for this class, method or field.
getClassInfo() - Method in class org.osjava.jardiff.ClassInfoVisitor
The the classInfo this ClassInfoVisitor has built up about a class
getClassName(String) - Method in class org.osjava.jardiff.AbstractDiffHandler
Get the java classname given the internal class name internalName.
getClassName(String) - Static method in class org.osjava.jardiff.Tools
Get the java class name given an internal class name.
getDependencies() - Method in class org.osjava.jardiff.JarDiff
Get the dependencies.
getDesc() - Method in class org.osjava.jardiff.FieldInfo
Get the descriptor for this FieldInfo.
getDesc() - Method in class org.osjava.jardiff.MethodInfo
Get the descriptor for the method.
getExceptions() - Method in class org.osjava.jardiff.MethodInfo
Get the array of exceptions which can be thrown by the method.
getFieldMap() - Method in class org.osjava.jardiff.ClassInfo
Get the map of field signatures to fields.
getInterfaces() - Method in class org.osjava.jardiff.ClassInfo
Get the internal names of the interfaces implemented by this class
getMethodMap() - Method in class org.osjava.jardiff.ClassInfo
Get the map of method signatures to methods.
getName() - Method in class org.osjava.jardiff.AbstractInfo
Get the internal name of this class, method or field.
getNewVersion() - Method in class org.osjava.jardiff.JarDiff
Get the name of the new version.
getOldVersion() - Method in class org.osjava.jardiff.JarDiff
Get the name of the old version.
getSignature() - Method in class org.osjava.jardiff.ClassInfo
Get the class signature.
getSignature() - Method in class org.osjava.jardiff.FieldInfo
Get the signature for this fieldinfo.
getSignature() - Method in class org.osjava.jardiff.MethodInfo
Get the signature for the method.
getSupername() - Method in class org.osjava.jardiff.ClassInfo
Get the internal name of the superclass.
getValue() - Method in class org.osjava.jardiff.FieldInfo
Get the initial value for this fieldinfo
getVersion() - Method in class org.osjava.jardiff.ClassInfo
Get the class file version.

I

isAbstract() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is abstract.
isAnnotation() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is annotation
isBridge() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is a bridge
isDeprecated() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is deprecated.
isEnum() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is an enum.
isFinal() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is final.
isInterface() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is an interface.
isNative() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is native.
isPackagePrivate() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is package private.
isPrivate() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is private.
isProtected() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is protected.
isPublic() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is public.
isStatic() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is static.
isStrict() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is string.
isSuper() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is super.
isSynchronized() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is synchronized.
isSynthetic() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is synthetic.
isTransient() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class or field is transient.
isVarargs() - Method in class org.osjava.jardiff.AbstractInfo
Test if this method is varargs.
isVolatile() - Method in class org.osjava.jardiff.AbstractInfo
Test if this class, method or field is volatile.

J

JarDiff - class org.osjava.jardiff.JarDiff.
A class to perform a diff between two jar files.
JarDiff() - Constructor for class org.osjava.jardiff.JarDiff
Create a new JarDiff object.

L

loadNewClasses(URL) - Method in class org.osjava.jardiff.JarDiff
Load new classes from the specified URL.
loadNewClasses(File) - Method in class org.osjava.jardiff.JarDiff
Load new classes from the specified File.
loadOldClasses(URL) - Method in class org.osjava.jardiff.JarDiff
Load old classes from the specified URL.
loadOldClasses(File) - Method in class org.osjava.jardiff.JarDiff
Load old classes from the specified File.

M

MethodInfo - class org.osjava.jardiff.MethodInfo.
A class to hold information about a method.
MethodInfo(int, String, String, String, String[]) - Constructor for class org.osjava.jardiff.MethodInfo
Create a new MethodInfo with the specified parameters.
main(String[]) - Static method in class org.osjava.jardiff.JarDiff
Main method to allow this to be run from the command line.
methodAdded(MethodInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info about a added method.
methodAdded(MethodInfo) - Method in interface org.osjava.jardiff.DiffHandler
The method was added for the current class that has changed.
methodAdded(MethodInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info about a added method.
methodChanged(MethodInfo, MethodInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info aboout a changed method.
methodChanged(MethodInfo, MethodInfo) - Method in interface org.osjava.jardiff.DiffHandler
A method on the current class has changed.
methodChanged(MethodInfo, MethodInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info aboout a changed method.
methodRemoved(MethodInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out info about a removed method.
methodRemoved(MethodInfo) - Method in interface org.osjava.jardiff.DiffHandler
The method was removed for the current class that has changed.
methodRemoved(MethodInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out info about a removed method.

N

newClassInfo - Variable in class org.osjava.jardiff.JarDiff
A map containing information about classes in the new jar file.

O

oldClassInfo - Variable in class org.osjava.jardiff.JarDiff
A map containing information about classes in the old jar file.
org.osjava.jardiff - package org.osjava.jardiff
 

R

reset() - Method in class org.osjava.jardiff.ClassInfoVisitor
Reset this ClassInfoVisitor so that it can be used to visit another class.

S

SAXDiffHandler - class org.osjava.jardiff.SAXDiffHandler.
A specific type of DiffHandler which uses SAX to create an XML document describing the changes in the diff.
SAXDiffHandler() - Constructor for class org.osjava.jardiff.SAXDiffHandler
Create a new SAXDiffHandler which writes to System.out
SAXDiffHandler(TransformerHandler) - Constructor for class org.osjava.jardiff.SAXDiffHandler
Create a new SAXDiffHandler with the specified TransformerHandler.
SimpleDiffCriteria - class org.osjava.jardiff.SimpleDiffCriteria.
A specific type of DiffCriteria which is only true for classes, methods and fields which are not synthetic, and are public or protected.
SimpleDiffCriteria() - Constructor for class org.osjava.jardiff.SimpleDiffCriteria
 
setDependencies(URL[]) - Method in class org.osjava.jardiff.JarDiff
Set the dependencies.
setNewVersion(String) - Method in class org.osjava.jardiff.JarDiff
Set the name of the new version.
setOldVersion(String) - Method in class org.osjava.jardiff.JarDiff
Set the name of the old version.
startAdded() - Method in class org.osjava.jardiff.DOMDiffHandler
Start the added section.
startAdded() - Method in interface org.osjava.jardiff.DiffHandler
Start of list of added classes.
startAdded() - Method in class org.osjava.jardiff.SAXDiffHandler
Start the added section.
startChanged() - Method in class org.osjava.jardiff.DOMDiffHandler
Start the changed section.
startChanged() - Method in interface org.osjava.jardiff.DiffHandler
Start list of changed classes.
startChanged() - Method in class org.osjava.jardiff.SAXDiffHandler
Start the changed section.
startClassChanged(String) - Method in class org.osjava.jardiff.DOMDiffHandler
Start a changed section for an individual class.
startClassChanged(String) - Method in interface org.osjava.jardiff.DiffHandler
Start information about class changes for the classname passed.
startClassChanged(String) - Method in class org.osjava.jardiff.SAXDiffHandler
Start a changed section for an individual class.
startDiff(String, String) - Method in class org.osjava.jardiff.DOMDiffHandler
Start the diff.
startDiff(String, String) - Method in interface org.osjava.jardiff.DiffHandler
Start a diff between two versions, where string a is the old version and string b is the new version.
startDiff(String, String) - Method in class org.osjava.jardiff.SAXDiffHandler
Start the diff.
startRemoved() - Method in class org.osjava.jardiff.DOMDiffHandler
Start the removed node.
startRemoved() - Method in interface org.osjava.jardiff.DiffHandler
Start the list of removed classes.
startRemoved() - Method in class org.osjava.jardiff.SAXDiffHandler
Start the removed node.

T

Tools - class org.osjava.jardiff.Tools.
A set of Tools which do not belong anywhere else in the API at this time.

V

validClass(ClassInfo) - Method in interface org.osjava.jardiff.DiffCriteria
Check if the class described by classinfo is interesting.
validClass(ClassInfo) - Method in class org.osjava.jardiff.SimpleDiffCriteria
Check if a class is valid.
validField(FieldInfo) - Method in interface org.osjava.jardiff.DiffCriteria
Check if the method described by fieldinfo is interesting.
validField(FieldInfo) - Method in class org.osjava.jardiff.SimpleDiffCriteria
Check if a field is valid.
validMethod(MethodInfo) - Method in interface org.osjava.jardiff.DiffCriteria
Check if the method described by methodinfo is interesting.
validMethod(MethodInfo) - Method in class org.osjava.jardiff.SimpleDiffCriteria
Check if a method is valid.
visit(int, int, String, String, String, String[]) - Method in class org.osjava.jardiff.ClassInfoVisitor
Receive notification of information about a class from ASM.
visitField(int, String, String, String, Object) - Method in class org.osjava.jardiff.ClassInfoVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class org.osjava.jardiff.ClassInfoVisitor
 

W

writeClassInfo(ClassInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out information about a class.
writeClassInfo(ClassInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out information about a class.
writeFieldInfo(FieldInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out information about a field.
writeFieldInfo(FieldInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out information about a field.
writeMethodInfo(MethodInfo) - Method in class org.osjava.jardiff.DOMDiffHandler
Write out information about a method.
writeMethodInfo(MethodInfo) - Method in class org.osjava.jardiff.SAXDiffHandler
Write out information about a method.

X

XML_URI - Static variable in class org.osjava.jardiff.DOMDiffHandler
The XML namespace used.
XML_URI - Static variable in class org.osjava.jardiff.SAXDiffHandler
The XML namespace used.

A C D E F G I J L M N O R S T V W X

Copyright © 2005-2006 OSJava. All Rights Reserved.