Class SimpleIndentStrategy

java.lang.Object
io.spring.initializr.generator.io.SimpleIndentStrategy
All Implemented Interfaces:
Function<Integer,String>

public class SimpleIndentStrategy extends Object implements Function<Integer,String>
A simple indenting strategy that uses a configurable indent value.
Author:
Stephane Nicoll
  • 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
  • Method Details