Java String Indent Format indent(int indent, StringBuffer sb)

Here you can find the source of indent(int indent, StringBuffer sb)

Description

indent

License

Open Source License

Declaration

private static void indent(int indent, StringBuffer sb) 

Method Source Code

//package com.java2s;

public class Main {
    private static void indent(int indent, StringBuffer sb) {
        for (int i = 0; i < indent; ++i) {
            sb.append("    ");
        }/*  w w w. j av a2s . c  o m*/
    }
}

Related

  1. indent(int indent)
  2. indent(int indent)
  3. indent(int indent)
  4. indent(int indent)
  5. indent(int indent, int tab, String string)
  6. indent(int indentLevel)
  7. indent(int level)
  8. indent(int level)
  9. indent(int level)