Method Summary |
|
public static Field[] | getAllFields(Class forClass) Returns all fields (including fields from all superclasses) of a class. |
public static Method[] | getAllMethods(Class forClass) Returns all fields (including fields from all superclasses) of a class. |
public static List<Class> | getLocalRemoteInterfaces(Class toAnalyse) Returns all business (local, remote) interfaces of the class. |
public static Class | getNonPrimitiveType(Class aktField) This method will do the transformation of primitive types if neccessary. |
public static int | getOs() Determines the OS. |
public static String | getPackageName(String longClassName) Retrun a short class name. |
public static File | getRootPackageDir(File location, String longPackageName) Retrurns the root package directory e.g com.ejb3unit.eg --> returns com. |
public static String | getShortClassName(String longClassName) Retrun a short class name. |
public static String | getShortClassName(Class clazz) Retrun a short class name. |
public static File | getTempDirectory() Returns a path to an temp directory. |
public static String | isolateJarName(URL fileInJar) Isolates a jar file when a file was found inside a jar. |
public static List<String> | scanFileNamesInArchive(InputStream in) Scan for files in jar file. |
public static List<File> | unjar(InputStream in, File dest) Dump the contents of a JarArchive to the dpecified destination. |