- All Implemented Interfaces:
Function<Integer,String>
A simple indenting strategy that uses a configurable indent
value.
- Author:
- Stephane Nicoll
-
Constructor Summary
Constructors
Create a new instance with the indent style to apply.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SimpleIndentStrategy
public SimpleIndentStrategy(String indent)
Create a new instance with the indent style to apply.
- Parameters:
indent
- the indent to apply for each indent level
-