Here you can find the source of indent(int number)
private static String indent(int number)
//package com.java2s; //License from project: Apache License public class Main { private static String SPACE = " "; private static String indent(int number) { StringBuffer result = new StringBuffer(); for (int i = 0; i < number; i++) { result.append(SPACE);/* www . j av a2s.c o m*/ } return result.toString(); } }