Package io.hawt.log.support
Class MavenCoordHelper
- java.lang.Object
-
- io.hawt.log.support.MavenCoordHelper
-
public class MavenCoordHelper extends java.lang.ObjectA helper class for finding the maven coordinates
-
-
Constructor Summary
Constructors Constructor Description MavenCoordHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.Class<?>findClass(java.lang.String className)Find class given class name.static java.lang.StringgetMavenCoordinates(java.lang.Class<?> cls)static java.lang.StringgetMavenCoordinates(java.lang.String className)
-
-
-
Method Detail
-
getMavenCoordinates
public static java.lang.String getMavenCoordinates(java.lang.String className)
-
getMavenCoordinates
public static java.lang.String getMavenCoordinates(java.lang.Class<?> cls) throws java.io.IOException- Throws:
java.io.IOException
-
findClass
protected static java.lang.Class<?> findClass(java.lang.String className) throws java.lang.ClassNotFoundExceptionFind class given class name.- Parameters:
className- class name, may not be null.- Returns:
- class, will not be null.
- Throws:
java.lang.ClassNotFoundException- thrown if class can not be found.
-
-