| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectorg.thymeleaf.util.ClassLoaderUtils
public final class ClassLoaderUtils
Utility class for obtaining a correct classloader on which to operate from a specific class.
| Method Summary | |
|---|---|
static ClassLoader | 
getClassLoader(Class<?> clazz)
Try to obtain a classloader, following these priorities: If there is a thread context class loader, return it.  | 
| Methods inherited from class Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static ClassLoader getClassLoader(Class<?> clazz)
Try to obtain a classloader, following these priorities:
clazz - the class which loader will be obtained in the second step. Can be null (that will
              skip that second step).
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||