/[classpath]/classpath/java/text/Format.java
ViewVC logotype

Diff of /classpath/java/text/Format.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mkoch, Fri Jun 27 21:03:52 2003 UTC revision 1.7 by mark, Fri Oct 24 15:17:16 2003 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.text;  package java.text;
40    
41    import java.util.Set;
42    import java.util.Map;
43    import java.util.HashSet;
44    import java.util.HashMap;
45  import java.io.Serializable;  import java.io.Serializable;
46    
47  /**  /**
# Line 61  public abstract class Format implements Line 65  public abstract class Format implements
65  {  {
66    static final long serialVersionUID = 4479235611355683992L;    static final long serialVersionUID = 4479235611355683992L;
67    
68      public static class Field extends AttributedCharacterIterator.Attribute
69      {
70        static final long serialVersionUID = 276966692217360283L;
71      
72        public Field(String name)
73        {
74          super(name);
75        }
76      }
77      
78    /**    /**
79     * This method initializes a new instance of <code>Format</code>.     * This method initializes a new instance of <code>Format</code>.
80     * It performs no actions, but acts as a default constructor for     * It performs no actions, but acts as a default constructor for
# Line 142  public abstract class Format implements Line 156  public abstract class Format implements
156     */     */
157    public abstract Object parseObject (String str, ParsePosition pos);    public abstract Object parseObject (String str, ParsePosition pos);
158    
159      public AttributedCharacterIterator formatToCharacterIterator(Object obj)
160      {
161        return new FormatCharacterIterator(format(obj), null, null);
162      }
163    
164    /**    /**
165     * Creates a copy of this object.     * Creates a copy of this object.
166     *     *

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26