public class PadFormat extends ReportFormat
PARAM_FROM_COUNT, PARAM_FROM_LIST, PARAM_UNSPECIFIED| Constructor and Description |
|---|
PadFormat(java.text.Format fmt,
int minWidth) |
PadFormat(java.text.Format fmt,
int minWidth,
char padChar,
int where) |
| Modifier and Type | Method and Description |
|---|---|
static int |
format(java.text.Format fmt,
java.lang.Object[] args,
int start,
java.lang.Appendable dst,
char padChar,
int minWidth,
int colInc,
int minPad,
int where,
java.text.FieldPosition fpos) |
int |
format(java.lang.Object[] args,
int start,
java.lang.Appendable dst,
java.text.FieldPosition fpos)
Format an array of arguments, and write out the result.
|
static int |
padNeeded(int actualWidth,
int minWidth,
int colInc,
int minPad) |
format, format, format, format, format, getParam, getParam, getParam, nextArg, parseObject, print, print, result, resultCodepublic PadFormat(java.text.Format fmt,
int minWidth,
char padChar,
int where)
public PadFormat(java.text.Format fmt,
int minWidth)
public int format(java.lang.Object[] args,
int start,
java.lang.Appendable dst,
java.text.FieldPosition fpos)
throws java.io.IOException
ReportFormatformat in class ReportFormatargs - the objects to be formattedstart - the index (in args) of the argument to start withdst - where to write the resultjava.io.IOExceptionpublic static int padNeeded(int actualWidth,
int minWidth,
int colInc,
int minPad)
public static int format(java.text.Format fmt,
java.lang.Object[] args,
int start,
java.lang.Appendable dst,
char padChar,
int minWidth,
int colInc,
int minPad,
int where,
java.text.FieldPosition fpos)
throws java.io.IOException
java.io.IOException