| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Formatgnu.text.ReportFormatpublic abstract class ReportFormatextends FormatField Summary | |
static int |
|
static int |
|
static int |
|
Method Summary | |
static int |
|
static int |
|
StringBuffer |
|
int |
|
int |
|
abstract int |
|
static int |
|
protected static char |
|
protected static int |
|
static int |
|
Object |
|
static void |
|
static int |
|
static int |
|
public static final int PARAM_FROM_COUNT
Some Formats use this to indicate a parameter that is the number of remaining paramaters.
- Field Value:
- -1342177280
public static final int PARAM_FROM_LIST
Some Formats use this to indicate a parameter that is the extracted from the argment list.
- Field Value:
- -1610612736
public static final int PARAM_UNSPECIFIED
Some Formats use this to indicate an unspecified parameter.
- Field Value:
- -1073741824
public static int format(Format fmt,
Object[] args,
int start,
StringBuffer sbuf,
FieldPosition fpos)public static int format(Format fmt,
Object[] args,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOExceptionpublic StringBuffer format(Object obj,
StringBuffer sbuf,
FieldPosition fpos)public int format(Object arg,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOExceptionpublic int format(Object[] args,
int start,
StringBuffer sbuf,
FieldPosition fpos)public abstract int format(Object[] args,
int start,
Writer dst,
FieldPosition fpos)
throws java.io.IOExceptionFormat an array of arguments, and write out the result.
- Parameters:
args- the objects to be formattedstart- the index (in args) of the argument to start withdst- where to write the result
- Returns:
- 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)
public static int getParam(Object arg,
int defaultValue)protected static char getParam(int param,
char defaultValue,
Object[] args,
int start)protected static int getParam(int param,
int defaultValue,
Object[] args,
int start)public static int nextArg(int result)
public Object parseObject(String text,
java.text.ParsePosition status)public static void print(Writer dst,
String str)
throws java.io.IOExceptionpublic static int result(int resultCode,
int nextArg)public static int resultCode(int result)