public class CompoundFormat extends ReportFormat
| Modifier and Type | Field and Description |
|---|---|
protected java.text.Format[] |
formats |
protected int |
length |
PARAM_FROM_COUNT, PARAM_FROM_LIST, PARAM_UNSPECIFIED| Constructor and Description |
|---|
CompoundFormat(java.text.Format[] formats) |
CompoundFormat(java.text.Format[] formats,
int length) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
format(java.lang.Object[] args,
int start,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos) |
java.lang.Object |
parseObject(java.lang.String text,
java.text.ParsePosition status) |
java.lang.String |
toString() |
public CompoundFormat(java.text.Format[] formats,
int length)
public CompoundFormat(java.text.Format[] formats)
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 final int format(java.lang.Object[] args,
int start,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos)
format in class ReportFormatpublic java.lang.Object parseObject(java.lang.String text,
java.text.ParsePosition status)
parseObject in class ReportFormatpublic java.lang.String toString()
toString in class java.lang.Object