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 class
Indentation.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 String
getIndent()
int
getSize()
Indentation.IndentType
getType()
Indentation
setSize(int size)
Indentation
setType(Indentation.IndentType type)
String
toString()
-
-
-
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()
-
-