format
public static int format(Format fmt,
Object[] args,
int start,
StringBuffer sbuf,
FieldPosition fpos)
format
public static int format(Format fmt,
Object[] args,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOException
format
public StringBuffer format(Object obj,
StringBuffer sbuf,
FieldPosition fpos)
format
public int format(Object arg,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOException
format
public int format(Object[] args,
int start,
StringBuffer sbuf,
FieldPosition fpos)
format
public abstract int format(Object[] args,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOException
Format an array of arguments, and write out the result.
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)
getParam
public static int getParam(Object arg,
int defaultValue)
getParam
protected static char getParam(int param,
char defaultValue,
Object[] args,
int start)
getParam
protected static int getParam(int param,
int defaultValue,
Object[] args,
int start)
nextArg
public static int nextArg(int result)
parseObject
public Object parseObject(String text,
java.text.ParsePosition status)
print
public static void print(Object value,
Consumer out)
print
public static void print(Writer dst,
String str)
throws java.io.IOException
(Parameters in non-standard order.)
result
public static int result(int resultCode,
int nextArg)
resultCode
public static int resultCode(int result)