Package org.apache.commons.lang3
Class ClassLoaderUtils
java.lang.Object
org.apache.commons.lang3.ClassLoaderUtils
Helps work with 
ClassLoader.- Since:
- 3.10
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic URL[]Gets the system class loader's URLs, if any.static URL[]Gets the current thread's context class loader's URLs, if any.static StringtoString(ClassLoader classLoader) Converts the given class loader to a String callingtoString(URLClassLoader).static StringtoString(URLClassLoader classLoader) Converts the given URLClassLoader to a String in the format"URLClassLoader.toString() + [URL1, URL2, ...]".
- 
Constructor Details- 
ClassLoaderUtilsDeprecated.TODO Make private in 4.0.Make private in 4.0.
 
- 
- 
Method Details- 
getSystemURLsGets the system class loader's URLs, if any.- Returns:
- the system class loader's URLs, if any.
- Since:
- 3.13.0
 
- 
getThreadURLsGets the current thread's context class loader's URLs, if any.- Returns:
- the current thread's context class loader's URLs, if any.
- Since:
- 3.13.0
 
- 
toStringConverts the given class loader to a String callingtoString(URLClassLoader).- Parameters:
- classLoader- to URLClassLoader to convert.
- Returns:
- the formatted string.
 
- 
toStringConverts the given URLClassLoader to a String in the format"URLClassLoader.toString() + [URL1, URL2, ...]".- Parameters:
- classLoader- to URLClassLoader to convert.
- Returns:
- the formatted string.
 
 
-