JBoss Logging I18n Tools 1.0.0.Beta7

org.jboss.logging.util
Class TransformationHelper

java.lang.Object
  extended by org.jboss.logging.util.TransformationHelper

public final class TransformationHelper
extends Object

Various transformation utilities.

Author:
James R. Perkins, Kevin Pollet - SERLI - (kevin.pollet@serli.com)

Method Summary
static String stackTraceToString(Throwable t)
          Converts a stack trace to string output.
static String toQualifiedClassName(String packageName, String className)
          Get the qualified name of a class in the given package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toQualifiedClassName

public static String toQualifiedClassName(String packageName,
                                          String className)
Get the qualified name of a class in the given package.

Parameters:
packageName - the package name
className - the class name
Returns:
the class qualified name

stackTraceToString

public static String stackTraceToString(Throwable t)
Converts a stack trace to string output.

Parameters:
t - the stack trace to convert.
Returns:
a string version of the stack trace.

JBoss Logging I18n Tools 1.0.0.Beta7

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.