Here you can find the source of indent(int nSpaces)
public static String indent(int nSpaces)
//package com.java2s; /*-//from w w w.j a va 2 s . c o m * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2010 Oracle. All rights reserved. * */ public class Main { static private final String SPACES = " " + " " + " " + " "; /** * For tree dumper. */ public static String indent(int nSpaces) { return SPACES.substring(0, nSpaces); } }