Top Description Constructors Methods
org.apache.tools.ant.taskdefs.optional.depend

public Class ClassFileUtils

extends Object
Class Inheritance

Utility class file routines. This class provides a number of static utility methods to convert between the formats used in the Java class file format and those commonly used in Java programming.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

the class name in slash notation (eg. java/lang/Object).
convertDotName
(String
the class name in dot notation (eg. java.lang.Object).
dotName
)

Convert a class name from java source file dot notation to class file slash notation..

public static String

Returns:

the class name in dot notation (eg. java.lang.Object).
convertSlashName
(String
the class name in slash notation org/apache/ant
name
)

Convert a class name from class file slash notation to java source file dot notation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ClassFileUtilsback to summary
public ClassFileUtils()

Method Detail

convertDotNameback to summary
public static String convertDotName(String dotName)

Convert a class name from java source file dot notation to class file slash notation..

Parameters
dotName:String

the class name in dot notation (eg. java.lang.Object).

Returns:String

the class name in slash notation (eg. java/lang/Object).

convertSlashNameback to summary
public static String convertSlashName(String name)

Convert a class name from class file slash notation to java source file dot notation.

Parameters
name:String

the class name in slash notation org/apache/ant

Returns:String

the class name in dot notation (eg. java.lang.Object).