/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
/** * Converts the specified objects into a string which it appends to the * specified string buffer using the pattern of this message format. * <p> * If the {@code field} member of the specified {@code FieldPosition} is * {@code MessageFormat.Field.ARGUMENT}, then the begin and end index of * this field position is set to the location of the first occurrence of a * message format argument. Otherwise, the {@code FieldPosition} is ignored. * * @param objects * the array of objects to format. * @param buffer * the target string buffer to append the formatted message to. * @param field * on input: an optional alignment field; on output: the offsets * of the alignment field in the formatted text. * @return the string buffer. */ public final StringBuffer format(Object[] objects, StringBuffer buffer, FieldPosition field) { return formatImpl(objects, buffer, field, null); }
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);