158 |
percent = safeGetChar (res, "percent", '%'); |
percent = safeGetChar (res, "percent", '%'); |
159 |
perMill = safeGetChar (res, "perMill", '\u2030'); |
perMill = safeGetChar (res, "perMill", '\u2030'); |
160 |
zeroDigit = safeGetChar (res, "zeroDigit", '0'); |
zeroDigit = safeGetChar (res, "zeroDigit", '0'); |
161 |
|
locale = loc; |
162 |
} |
} |
163 |
|
|
164 |
/** |
/** |
581 |
/** |
/** |
582 |
* @serial This value represents the type of object being de-serialized. |
* @serial This value represents the type of object being de-serialized. |
583 |
* 0 indicates a pre-Java 1.1.6 version, 1 indicates 1.1.6 or later. |
* 0 indicates a pre-Java 1.1.6 version, 1 indicates 1.1.6 or later. |
584 |
*/ |
* 0 indicates a pre-Java 1.1.6 version, 1 indicates 1.1.6 or later, |
585 |
private int serialVersionOnStream = 1; |
* 2 indicates 1.4 or later |
586 |
|
*/ |
587 |
|
private int serialVersionOnStream = 2; |
588 |
/** |
/** |
589 |
* @serial This is the character used to represent 0. |
* @serial This is the character used to represent 0. |
590 |
*/ |
*/ |
591 |
private char zeroDigit; |
private char zeroDigit; |
592 |
|
|
593 |
|
/** |
594 |
|
* @serial The locale of these currency symbols. |
595 |
|
*/ |
596 |
|
private Locale locale; |
597 |
|
|
598 |
private static final long serialVersionUID = 5772796243397350300L; |
private static final long serialVersionUID = 5772796243397350300L; |
599 |
|
|
600 |
private void readObject(ObjectInputStream stream) |
private void readObject(ObjectInputStream stream) |
605 |
{ |
{ |
606 |
monetarySeparator = decimalSeparator; |
monetarySeparator = decimalSeparator; |
607 |
exponential = 'E'; |
exponential = 'E'; |
|
serialVersionOnStream = 1; |
|
608 |
} |
} |
609 |
|
if (serialVersionOnStream < 2) |
610 |
|
locale = Locale.getDefault(); |
611 |
|
|
612 |
|
serialVersionOnStream = 2; |
613 |
} |
} |
614 |
} |
} |