Пример #1
0
 /**
  * Appends the specified object to the specified string buffer using the
  * rules of this format.
  * <p>
  * {@code field} is an input/output parameter. If its {@code field}
  * member contains an enum value specifying a field on input, then its
  * {@code beginIndex} and {@code endIndex} members will be updated with the
  * text offset of the first occurrence of this field in the formatted text.
  *
  * @param object
  *            the object to format.
  * @param buffer
  *            the string buffer where the formatted string is appended 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.
  * @throws IllegalArgumentException
  *            if the object cannot be formatted by this format.
  */
 public abstract java.lang.StringBuffer format(Object obj, java.lang.StringBuffer buffer, FieldPosition field);
Пример #2
0
 /**
  * Appends the specified object to the specified string buffer using the
  * rules of this format.
  * <p>
  * {@code field} is an input/output parameter. If its {@code field}
  * member contains an enum value specifying a field on input, then its
  * {@code beginIndex} and {@code endIndex} members will be updated with the
  * text offset of the first occurrence of this field in the formatted text.
  *
  * @param object
  *            the object to format.
  * @param buffer
  *            the string buffer where the formatted string is appended 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.
  * @throws IllegalArgumentException
  *            if the object cannot be formatted by this format.
  */
 public abstract java.lang.StringBuffer format(Object obj, java.lang.StringBuffer buffer, FieldPosition field);
Пример #3
0
 public override java.lang.StringBuffer format(Object obj, java.lang.StringBuffer buffer, FieldPosition field)
 {
     throw new java.lang.UnsupportedOperationException("Not yet implemented");
 }