public class JavaUtil
extends java.lang.Object
Constructor and Description |
---|
JavaUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSubInterface(java.lang.Class<?> sup,
java.lang.Class<?> sub)
Recursively check if the interface inherits the super interface.
|
static java.util.List<java.lang.String> |
readTextFromJar(java.lang.String path) |
public static boolean isSubInterface(java.lang.Class<?> sup, java.lang.Class<?> sub)
sup
- The class of the interface you think it is a subinterface of.sub
- The possible subinterface of the super interface.public static java.util.List<java.lang.String> readTextFromJar(java.lang.String path) throws java.io.IOException
java.io.IOException