public class OutputUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static void |
javaIndent(StringBuilder sb,
int indentLevel)
Utility method that indents the buffer by the default amount for Java
(four spaces per indent level).
|
static void |
kotlinIndent(StringBuilder sb,
int indentLevel)
Utility method that indents the buffer by the default amount for Kotlin
(four spaces per indent level).
|
static void |
xmlIndent(StringBuilder sb,
int indentLevel)
Utility method that indents the buffer by the default amount for XML (two
spaces per indent level).
|
public static void javaIndent(StringBuilder sb, int indentLevel)
sb
- a StringBuilder to append toindentLevel
- the required indent levelpublic static void kotlinIndent(StringBuilder sb, int indentLevel)
sb
- a StringBuilder to append toindentLevel
- the required indent levelpublic static void xmlIndent(StringBuilder sb, int indentLevel)
sb
- a StringBuilder to append toindentLevel
- the required indent levelCopyright © 2006–2022 MyBatis.org. All rights reserved.