Package top.focess.util.serialize
Interface ClassFinder
-
public interface ClassFinderUsed to find class by its name.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<?>forName(String className)Finds the class by its name.default Class<?>forName0(String className)
-
-
-
Method Detail
-
forName0
default Class<?> forName0(String className) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
forName
Class<?> forName(String className) throws ClassNotFoundException
Finds the class by its name.- Parameters:
className- the name of the class- Returns:
- the class
- Throws:
ClassNotFoundException- if the class is not found
-
-