Here you can find the source of indent(StringBuilder sb, int indent)
private static StringBuilder indent(StringBuilder sb, int indent)
//package com.java2s; //License from project: Open Source License public class Main { private static StringBuilder indent(StringBuilder sb, int indent) { for (int i = 0; i < indent; ++i) sb.append(' '); return sb; }/* ww w .j a v a2s . c om*/ }