public class ClassUtils extends Object
| Constructor and Description |
|---|
ClassUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPresent(String className,
ClassLoader classLoader)
Determine whether the
Class identified by the supplied name is present
and can be loaded. |
public static boolean isPresent(String className, ClassLoader classLoader)
Class identified by the supplied name is present
and can be loaded. Will return false if either the class or
one of its dependencies is not present or cannot be loaded.className - the name of the class to checkclassLoader - the class loader to use
(may be null, which indicates the default class loader)Copyright © 2017. All rights reserved.