| Modifier and Type | Field and Description |
|---|---|
| private StringBuilder | |
| public static final int | |
| private int | |
| private int | |
| private char[] | |
| private char | |
| private PrintStream | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Printer | |
| public int | |
| private boolean | |
| public Printer | |
| public Printer | |
| public Printer | |
| public Printer | |
| public Printer | |
| public Printer | |
| private Printer | |
| public Printer | rj(int size)
Right-Justify the next call to p so that the total number of characters is at least size. |
| bld | back to summary |
|---|---|
| private StringBuilder bld | |
| DEFAULT_INCREMENT | back to summary |
|---|---|
| public static final int DEFAULT_INCREMENT | |
| increment | back to summary |
|---|---|
| private int increment | |
| indent | back to summary |
|---|---|
| private int indent | |
| pad | back to summary |
|---|---|
| private char[] pad | |
| padChar | back to summary |
|---|---|
| private char padChar | |
| ps | back to summary |
|---|---|
| private PrintStream ps | |
| rightJustificationSize | back to summary |
|---|---|
| private int rightJustificationSize | |
| Printer | back to summary |
|---|---|
| public Printer(PrintStream ps) | |
| Printer | back to summary |
|---|---|
| public Printer(PrintStream ps, int increment, char padChar) | |
| fill | back to summary |
|---|---|
| private void fill() | |
| in | back to summary |
|---|---|
| public Printer in() | |
| indent | back to summary |
|---|---|
| public int indent() | |
| isPrintable | back to summary |
|---|---|
| private boolean isPrintable(char c) | |
| nl | back to summary |
|---|---|
| public Printer nl() | |
| out | back to summary |
|---|---|
| public Printer out() | |
| p | back to summary |
|---|---|
| public Printer p(String str) | |
| p | back to summary |
|---|---|
| public Printer p(Object... args) | |
| p | back to summary |
|---|---|
| public Printer p(Object obj) | |
| printBuffer | back to summary |
|---|---|
| public Printer printBuffer(byte[] buffer) | |
| rightJustify | back to summary |
|---|---|
| private Printer rightJustify(String str) | |
| rj | back to summary |
|---|---|
| public Printer rj(int size) Right-Justify the next call to p so that the total number of characters is at least size. Use leading spaces if necessary to ensure this. | |