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 |
/** |
/** |
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 |
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 |
* |
* |