public class ClassReader
extends java.lang.Object
| Constructor and Description |
|---|
ClassReader(java.lang.String path)
Create a new ClassReader with the full path of the .class file
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassFullName()
Get the full name of the class with its package
|
java.lang.String |
getCleanPath()
Get the path of the directory where the class is located
|
boolean |
isParclass()
Check if the class is a parallel class.
|
static boolean |
isParclass(java.lang.Class<?> c) |
public ClassReader(java.lang.String path)
path - Full .class file locationpublic boolean isParclass()
throws java.lang.ClassNotFoundException,
java.net.MalformedURLException
java.lang.ClassNotFoundException - Thrown if the class file is not foundjava.net.MalformedURLException - Thrown if the URL to the class is wrongpublic static boolean isParclass(java.lang.Class<?> c)
public java.lang.String getClassFullName()
public java.lang.String getCleanPath()