gnu.text
Class CompoundFormat
public class CompoundFormat
int | format(Object[] args, int start, StringBuffer sbuf, FieldPosition fpos)
|
int | format(Object[] args, int start, Writer dst, FieldPosition fpos) - Format an array of arguments, and write out the result.
|
Object | parseObject(String text, java.text.ParsePosition status)
|
String | toString()
|
format , format , format , format , format , format , getParam , getParam , getParam , nextArg , parseObject , print , print , result , resultCode |
formats
protected Format[] formats
length
protected int length
CompoundFormat
public CompoundFormat(Format[] formats)
CompoundFormat
public CompoundFormat(Format[] formats,
int length)
format
public final int format(Object[] args,
int start,
StringBuffer sbuf,
FieldPosition fpos)
- format in interface ReportFormat
format
public int format(Object[] args,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOException
Format an array of arguments, and write out the result.
- format in interface ReportFormat
args
- the objects to be formattedstart
- the index (in args) of the argument to start withdst
- where to write the result
- an integer result(resultCode, nextArg), where
nextArg is the index following the last argument processed, and
code is a result code (normally 0, or negative if early termintation)
parseObject
public Object parseObject(String text,
java.text.ParsePosition status)
- parseObject in interface ReportFormat
toString
public String toString()