org.osjava.jardiff
Class Tools

java.lang.Object
  extended by org.osjava.jardiff.Tools

public final class Tools
extends java.lang.Object

A set of Tools which do not belong anywhere else in the API at this time. This is nasty, but for now, useful.

Author:
Antony Riley

Constructor Summary
private Tools()
          Private constructor so this class can't be instantiated.
 
Method Summary
static java.lang.String getClassName(java.lang.String internalName)
          Get the java class name given an internal class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tools

private Tools()
Private constructor so this class can't be instantiated.

Method Detail

getClassName

public static final java.lang.String getClassName(java.lang.String internalName)
Get the java class name given an internal class name. This method currently replaces all instances of $ and / with . this may not be according to the java language spec, and will almost certainly fail for some inner classes.

Parameters:
internalName - The internal name of the class.
Returns:
The java class name.