public class Printer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INCREMENT |
Constructor and Description |
---|
Printer(PrintStream ps) |
Printer(PrintStream ps,
int increment,
char padChar) |
Modifier and Type | Method and Description |
---|---|
Printer |
in() |
int |
indent() |
Printer |
nl() |
Printer |
out() |
Printer |
p(Object... args) |
Printer |
p(Object obj) |
Printer |
p(String str) |
Printer |
printBuffer(byte[] buffer) |
Printer |
rj(int size)
Right-Justify the next call to p so that the total number of characters
is at least size.
|
public static final int DEFAULT_INCREMENT
public Printer(PrintStream ps)
public Printer(PrintStream ps, int increment, char padChar)
public Printer rj(int size)
public Printer in()
public Printer out()
public int indent()
public Printer nl()
public Printer printBuffer(byte[] buffer)
Copyright © 2017 Oracle. All rights reserved.