org.fusesource.insight.log.log4j
Class MavenCoordHelper

java.lang.Object
  extended by org.fusesource.insight.log.log4j.MavenCoordHelper

public class MavenCoordHelper
extends java.lang.Object

A helper class for finding the maven coordinates


Constructor Summary
MavenCoordHelper()
           
 
Method Summary
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.


Copyright © 2013 Red Hat. All Rights Reserved.