| |
|
| java.lang.Object org.apache.batik.util.ClassFileUtilities
ClassFileUtilities | public class ClassFileUtilities (Code) | | This class contains utility methods to manipulate Java classes.
author: Stephane Hillion version: $Id$ |
Constructor Summary | |
protected | ClassFileUtilities() This class does not need to be instantiated. |
CONSTANT_CLASS_INFO | final public static byte CONSTANT_CLASS_INFO(Code) | | |
CONSTANT_DOUBLE_INFO | final public static byte CONSTANT_DOUBLE_INFO(Code) | | |
CONSTANT_FIELDREF_INFO | final public static byte CONSTANT_FIELDREF_INFO(Code) | | |
CONSTANT_FLOAT_INFO | final public static byte CONSTANT_FLOAT_INFO(Code) | | |
CONSTANT_INTEGER_INFO | final public static byte CONSTANT_INTEGER_INFO(Code) | | |
CONSTANT_INTERFACEMETHODREF_INFO | final public static byte CONSTANT_INTERFACEMETHODREF_INFO(Code) | | |
CONSTANT_LONG_INFO | final public static byte CONSTANT_LONG_INFO(Code) | | |
CONSTANT_METHODREF_INFO | final public static byte CONSTANT_METHODREF_INFO(Code) | | |
CONSTANT_NAMEANDTYPE_INFO | final public static byte CONSTANT_NAMEANDTYPE_INFO(Code) | | |
CONSTANT_STRING_INFO | final public static byte CONSTANT_STRING_INFO(Code) | | |
CONSTANT_UTF8_INFO | final public static byte CONSTANT_UTF8_INFO(Code) | | |
ClassFileUtilities | protected ClassFileUtilities()(Code) | | This class does not need to be instantiated.
|
getClassDependencies | public static Set getClassDependencies(String path, Set classpath) throws IOException(Code) | | Returns the dependencies of the given class.
Parameters: path - The root class path. Parameters: classpath - The set of directories (Strings) to scan. a list of paths representing the used classes. |
getClassDependencies | public static Set getClassDependencies(InputStream is) throws IOException(Code) | | Returns the dependencies of the given class.
a list of strings representing the used classes. |
getDescriptorClasses | protected static Set getDescriptorClasses(String desc)(Code) | | Returns the classes contained in a field or method desciptor.
|
|
|
|