UFormat.java
637 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.agl.text;
import com.adobe.agl.util.ULocale;
import java.text.Format;
public abstract class UFormat
extends Format {
private ULocale validLocale;
private ULocale actualLocale;
public final ULocale getLocale(ULocale.Type type) {
return type == ULocale.ACTUAL_LOCALE ? this.actualLocale : this.validLocale;
}
final void setLocale(ULocale valid, ULocale actual) {
if (valid == null != (actual == null)) {
throw new IllegalArgumentException();
}
this.validLocale = valid;
this.actualLocale = actual;
}
}