equal
deleted
inserted
replaced
647 * Subclassed to update the internal representation of the mask after |
647 * Subclassed to update the internal representation of the mask after |
648 * the default read operation has completed. |
648 * the default read operation has completed. |
649 */ |
649 */ |
650 private void readObject(ObjectInputStream s) |
650 private void readObject(ObjectInputStream s) |
651 throws IOException, ClassNotFoundException { |
651 throws IOException, ClassNotFoundException { |
652 s.defaultReadObject(); |
652 ObjectInputStream.GetField f = s.readFields(); |
|
653 |
|
654 validCharacters = (String) f.get("validCharacters", null); |
|
655 invalidCharacters = (String) f.get("invalidCharacters", null); |
|
656 placeholderString = (String) f.get("placeholderString", null); |
|
657 placeholder = f.get("placeholder", '\0'); |
|
658 containsLiteralChars = f.get("containsLiteralChars", false); |
|
659 mask = (String) f.get("mask", null); |
|
660 |
653 try { |
661 try { |
654 updateInternalMask(); |
662 updateInternalMask(); |
655 } catch (ParseException pe) { |
663 } catch (ParseException pe) { |
656 // assert(); |
664 // assert(); |
657 } |
665 } |