jdk/src/share/classes/java/util/spi/LocaleNameProvider.java
changeset 7252 2316b2e837d8
parent 6501 684810d882b3
child 8146 f1b64e82649f
equal deleted inserted replaced
7251:bfbe5cb5fbb2 7252:2316b2e837d8
    92      *     {@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
    92      *     {@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
    93      *     getAvailableLocales()}.
    93      *     getAvailableLocales()}.
    94      * @see java.util.Locale#getDisplayScript(java.util.Locale)
    94      * @see java.util.Locale#getDisplayScript(java.util.Locale)
    95      * @since 1.7
    95      * @since 1.7
    96      */
    96      */
    97     public abstract String getDisplayScript(String scriptCode, Locale locale);
    97     public String getDisplayScript(String scriptCode, Locale locale) {
       
    98         return null;
       
    99     }
    98 
   100 
    99     /**
   101     /**
   100      * Returns a localized name for the given <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
   102      * Returns a localized name for the given <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
   101      * IETF BCP47</a> region code (either ISO 3166 country code or UN M.49 area
   103      * IETF BCP47</a> region code (either ISO 3166 country code or UN M.49 area
   102      * codes) and the given locale that is appropriate for display to the user.
   104      * codes) and the given locale that is appropriate for display to the user.