I have added a skeleton version of DecimalFormat to allow MessageFormat to compile.

2001-07-13  John Leuner <[EMAIL PROTECTED]>

        * java/text/DecimalFormat.java: Added a skeleton (ie non-working
        and incomplete) version to allow MessageFormat to compile.


/** This is a skeleton (ie incomplete and non-working) implementation of DecimalFormat
  * to allow MessageFormat to compile.
  * 
  *
  * @version 0.0
  *
  * @author John Leuner ([EMAIL PROTECTED])
  */

package java.text;

public class DecimalFormat extends NumberFormat
{
  public StringBuffer format(long number, StringBuffer sb, FieldPosition pos)
  {
    System.err.println("Warning, DecimalFormat is broken");
    return null;
  }

  public StringBuffer format(double number, StringBuffer sb, FieldPosition pos)
  {
    System.err.println("Warning, DecimalFormat is broken");
    return null;
  }

  public  Number parse(String str, ParsePosition pp)
  {
    System.err.println("Warning, DecimalFormat is broken");
    return null;
  }

  public  StringBuffer format(Object obj, StringBuffer sb, FieldPosition pos)  throws 
IllegalArgumentException
  {
    throw new IllegalArgumentException("Warning, DecimalFormat is broken");
  }

  public void applyPattern(String style)
  {
    System.err.println("Warning, DecimalFormat is broken");
  }
}

John Leuner

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to