Class JoinDescription.IndentedAppendable

  • All Implemented Interfaces:
    java.lang.Appendable
    Enclosing class:
    JoinDescription

    private static class JoinDescription.IndentedAppendable
    extends java.lang.Object
    implements java.lang.Appendable
    The wrapper for StringBuilder aware of indentation.
    • Field Detail

      • stringBuilder

        private final java.lang.StringBuilder stringBuilder
      • currentIndentation

        private int currentIndentation
    • Constructor Detail

      • IndentedAppendable

        IndentedAppendable​(java.lang.StringBuilder stringBuilder)