public static String indent(int indent){
  StringBuffer s=new StringBuffer();
  for (int i=0; i < indent; i++) {
    s.append(" ");
  }
  return s.toString();
}

public static String indent ( int indent ) { StringBuffer s = new StringBuffer ( ) ; for ( int i = 0 ; i < indent ; i ++ ) { s . append ( " " ) ; } return s . toString ( ) ; }
returns a whitespace with length indent .
