Here you can find the source of indent(int indent)
public static String indent(int indent)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); public class Main { private static final String tabs = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; private static final int tabsLen = tabs.length(); /********************************************************************* * Return some indentation./*from w w w . j a v a 2 s . c o m*/ ********************************************************************/ public static String indent(int indent) { if (indent < 1 || indent > tabsLen) return ""; return tabs.substring(0, indent); } }