Class Indentation
- java.lang.Object
-
- com.github.javaparser.printer.configuration.Indentation
-
public class Indentation extends Object
This class defines the characteristics of an indentation: the type (space, tabs..) and the size (How many characters must be used to indent the code).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndentation.IndentType
-
Constructor Summary
Constructors Constructor Description Indentation(Indentation.IndentType type)Indentation(Indentation.IndentType type, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIndent()intgetSize()Indentation.IndentTypegetType()IndentationsetSize(int size)IndentationsetType(Indentation.IndentType type)StringtoString()
-
-
-
Constructor Detail
-
Indentation
public Indentation(Indentation.IndentType type, int size)
-
Indentation
public Indentation(Indentation.IndentType type)
-
-
Method Detail
-
setSize
public Indentation setSize(int size)
-
getSize
public int getSize()
-
setType
public Indentation setType(Indentation.IndentType type)
-
getType
public Indentation.IndentType getType()
-
getIndent
public String getIndent()
-
-