Example usage for java.util.spi CurrencyNameProvider subclass-usage

List of usage examples for java.util.spi CurrencyNameProvider subclass-usage

Introduction

In this page you can find the example usage for java.util.spi CurrencyNameProvider subclass-usage.

Usage

From source file Main.java

public class Main extends CurrencyNameProvider {
    final static Locale[] locales = new Locale[] { new Locale("ti", "ER") };

    public Locale[] getAvailableLocales() {
        return locales;
    }

From source file CurrencyNameProviderImpl.java

public class CurrencyNameProviderImpl extends CurrencyNameProvider {
    final static Locale[] locales = new Locale[] { new Locale("ti", "ER") };

    public Locale[] getAvailableLocales() {
        return locales;
    }