Class MavenCoordHelper


  • public class MavenCoordHelper
    extends java.lang.Object
    A helper class for finding the maven coordinates
    • 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.String getMavenCoordinates​(java.lang.Class<?> cls)  
      static java.lang.String getMavenCoordinates​(java.lang.String className)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MavenCoordHelper

        public MavenCoordHelper()
    • 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.ClassNotFoundException
        Find 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.