public class ExtendedPrintWriter extends PrintWriter
| Modifier and Type | Field and Description |
|---|---|
static int |
COMMAD |
static int |
INT |
static int |
SIZE |
static int |
STR |
static int |
STRTRUNC |
out| Constructor and Description |
|---|
ExtendedPrintWriter(Writer out) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int width,
int format,
String header) |
void |
add(int width,
int format,
String header,
boolean right) |
void |
clear() |
void |
done() |
void |
header(String hdr,
int type) |
void |
out(long v) |
void |
out(String s) |
void |
print(long value,
int width) |
void |
print(String s,
int width)
Print a string with a fixed width.
|
void |
printCommad(long value,
int width) |
void |
printright(String s,
int width) |
void |
printSize(long value,
int width) |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, writepublic static final int STR
public static final int INT
public static final int COMMAD
public static final int SIZE
public static final int STRTRUNC
public ExtendedPrintWriter(Writer out)
public void print(String s, int width)
s - width - public void printright(String s, int width)
public void print(long value,
int width)
public void printCommad(long value,
int width)
public void printSize(long value,
int width)
public void clear()
public void add(int width,
int format,
String header,
boolean right)
public void add(int width,
int format,
String header)
public void header(String hdr, int type)
public void out(String s)
public void done()
public void out(long v)
Copyright © 2017 etc.to. All rights reserved.