| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static InputSource | getInputSource(String fileOrURL)
Gets an InputSource from a string, which contains either a file name or an URL. |
| public static boolean | |
| public static String | |
| public static String | Returns: the source location of the resource, or null if it wasn't foundthe fully qualified name of the class to search for classname, ClassLoader the classloader to search loader)Search the specified classloader for the given classname. |
| Util | back to summary |
|---|---|
| public Util() | |
| getInputSource | back to summary |
|---|---|
| public static InputSource getInputSource(String fileOrURL) Gets an InputSource from a string, which contains either a file name or an URL. | |
| isAbsoluteURI | back to summary |
|---|---|
| public static boolean isAbsoluteURI(String uri) Checks if a given string is an absolute URI if it is an URI. This method does not check whether it is an URI. This implementation is based on this post. | |
| which | back to summary |
|---|---|
| public static String which(Class<?> clazz) | |
| which | back to summary |
|---|---|
| public static String which(String classname, ClassLoader loader) Search the specified classloader for the given classname.
| |