Here you can find the source of indentString(int indent)
private static String indentString(int indent)
//package com.java2s; //License from project: Open Source License public class Main { private static String indentString(int indent) { StringBuffer sbuf = new StringBuffer(); for (int i = 0; i < indent; i++) sbuf.append(" "); return sbuf.toString(); }// w ww. ja v a2s . co m }