Java String Indent Format indent(String s)

Here you can find the source of indent(String s)

Description

indent

License

Apache License

Declaration

public static String indent(String s) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    private static final String indentation = "  ";

    public static String indent(String s) {
        return s + indentation;
    }//from  ww w.j av  a 2s.c o  m
}

Related

  1. indent(String message, int indent)
  2. indent(String msg, int size)
  3. indent(String original, int spaces)
  4. indent(String s)
  5. indent(String s)
  6. indent(String s)
  7. indent(String s, int numBlanks)
  8. indent(String str)
  9. indent(String str, String indent)