Class AngleFormat

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class AngleFormat
    extends java.text.Format
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.text.Format

        java.text.Format.Field
    • Constructor Summary

      Constructors 
      Constructor Description
      AngleFormat()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.StringBuffer format​(java.lang.Object obj, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)  
      static AngleFormat getInstance()  
      java.lang.Double parse​(java.lang.String text)  
      java.lang.Double parse​(java.lang.String text, java.text.ParsePosition pos)  
      java.lang.Object parseObject​(java.lang.String source, java.text.ParsePosition pos)  
      void toString​(java.lang.StringBuffer buffer, double value)  
      • Methods inherited from class java.text.Format

        clone, format, formatToCharacterIterator, parseObject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AngleFormat

        public AngleFormat()
    • Method Detail

      • getInstance

        public static final AngleFormat getInstance()
      • format

        public java.lang.StringBuffer format​(java.lang.Object obj,
                                             java.lang.StringBuffer toAppendTo,
                                             java.text.FieldPosition pos)
        Specified by:
        format in class java.text.Format
      • toString

        public void toString​(java.lang.StringBuffer buffer,
                             double value)
      • parse

        public java.lang.Double parse​(java.lang.String text)
                               throws java.text.ParseException
        Throws:
        java.text.ParseException
      • parse

        public java.lang.Double parse​(java.lang.String text,
                                      java.text.ParsePosition pos)
      • parseObject

        public java.lang.Object parseObject​(java.lang.String source,
                                            java.text.ParsePosition pos)
        Specified by:
        parseObject in class java.text.Format