public class JavaFile extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
INDENT_STEP |
| Constructor and Description |
|---|
JavaFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String newLine) |
void |
addAll(List newLines) |
void |
assertBlocksClosed() |
void |
endBlock() |
void |
endBlock(String bracket) |
String |
getIndent() |
int |
getLineNumber() |
List<String> |
getLines() |
void |
insert(int pos,
String indent,
String newLine) |
void |
startBlock() |
void |
startBlock(String bracket) |
protected static final String INDENT_STEP
public String getIndent()
public int getLineNumber()
public void add(String newLine)
public void addAll(List newLines)
public void startBlock()
public void startBlock(String bracket)
public void endBlock()
public void endBlock(String bracket)
public void assertBlocksClosed()
Copyright © 2017 SAP SE. All Rights Reserved.