public class LettuceClassUtils extends Object
Constructor and Description |
---|
LettuceClassUtils() |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
forName(String className)
Loads a class using the
getDefaultClassLoader() . |
static boolean |
isPresent(String className)
Determine whether the
Class identified by the supplied name is present and can be loaded. |
public static boolean isPresent(String className)
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 checkpublic static Class<?> forName(String className) throws ClassNotFoundException
getDefaultClassLoader()
.className
- ClassNotFoundException
Copyright © 2018 lettuce.io. All rights reserved.