Class Indentator


  • public abstract class Indentator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Indentator()  
    • Method Summary

      Modifier and Type Method Description
      static Indentator custom​(int indentCount)  
      static Indentator custom​(int indentCount, char indent)  
      abstract java.lang.String indent​(int indentLevel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SINGLE_SPACE

        public static final Indentator SINGLE_SPACE
      • QUAD_SPACE

        public static final Indentator QUAD_SPACE
      • SINGLE_TAB

        public static final Indentator SINGLE_TAB
    • Constructor Detail

      • Indentator

        public Indentator()
    • Method Detail

      • custom

        public static Indentator custom​(int indentCount)
      • custom

        public static Indentator custom​(int indentCount,
                                        char indent)
      • indent

        public abstract java.lang.String indent​(int indentLevel)