In Java, it is possible to get a String representation of a class by calling the Class.getName() method.
Since Java 1.5 (AKA Java 5), it has been possible to get the canonical name using Class.getCanonicalName().
Monday, 30 June 2008
Java: class names
Labels:
Java
Subscribe to:
Comments (Atom)