org.jwarp.util
Class ToString

java.lang.Object
  |
  +--org.jwarp.util.ToString

public class ToString
extends java.lang.Object


Field Summary
protected static int indentSize
           
 
Constructor Summary
ToString()
           
 
Method Summary
protected static java.lang.String blanks(int length)
          Makes a string with a number of blanks
protected static java.lang.String indent(int level)
          Makes a string with blanks for indentation
static java.lang.String object(java.lang.Object obj)
          generic toString method for any object (public fields only)
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indentSize

protected static int indentSize
Constructor Detail

ToString

public ToString()
Method Detail

blanks

protected static java.lang.String blanks(int length)
Makes a string with a number of blanks
Parameters:
the - number of blanks
Returns:
String with number of blanks

indent

protected static java.lang.String indent(int level)
Makes a string with blanks for indentation
Parameters:
the - level of indentation
Returns:
String with blanks starting with \n

object

public static java.lang.String object(java.lang.Object obj)
generic toString method for any object (public fields only)

©   O R C A   S y s t e m s