org.fest.util
Class ToString

java.lang.Object
  extended by org.fest.util.ToString

public final class ToString
extends Object

Obtains the toString representation of an object.

Author:
Alex Ruiz, Joel Costigliola, Yvonne Wang

Method Summary
static String toStringOf(Object o)
          Returns the toString representation of the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toStringOf

public static String toStringOf(Object o)
Returns the toString representation of the given object. It may or not the object's own implementation of toString.

Parameters:
o - the given object.
Returns:
the toString representation of the given object.


Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.