com.ibm.icu.text.PluralRulesSerialProxy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.currency.service
Show all versions of com.liferay.commerce.currency.service
Liferay Commerce Currency Service
/*
*******************************************************************************
* Copyright (C) 2013, Google Inc, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package com.ibm.icu.text;
import java.io.ObjectStreamException;
import java.io.Serializable;
/**
* @author markdavis
*
*/
class PluralRulesSerialProxy implements Serializable {
private static final long serialVersionUID = 42L;
private final String data;
PluralRulesSerialProxy(String rules) {
data = rules;
}
private Object readResolve() throws ObjectStreamException {
return PluralRules.createRules(data);
}
}