Home | History | Annotate | Download | only in text
      1 /* GENERATED SOURCE. DO NOT MODIFY. */
      2 //  2016 and later: Unicode, Inc. and others.
      3 // License & terms of use: http://www.unicode.org/copyright.html#License
      4 /*
      5  *******************************************************************************
      6  * Copyright (C) 2013, Google Inc, International Business Machines Corporation and         *
      7  * others. All Rights Reserved.                                                *
      8  *******************************************************************************
      9  */
     10 package android.icu.text;
     11 
     12 import java.io.ObjectStreamException;
     13 import java.io.Serializable;
     14 
     15 /**
     16  * @author markdavis
     17  *
     18  */
     19 class PluralRulesSerialProxy implements Serializable {
     20     private static final long serialVersionUID = 42L;
     21     private final String data;
     22     PluralRulesSerialProxy(String rules) {
     23         data = rules;
     24     }
     25     private Object readResolve() throws ObjectStreamException {
     26         return PluralRules.createRules(data);
     27     }
     28 }
     29 
     30