Codota Logo
CurrencyCode.getByCountry
Code IndexAdd Codota to your IDE (free)

How to use
getByCountry
method
in
com.neovisionaries.i18n.CurrencyCode

Best Java code snippets using com.neovisionaries.i18n.CurrencyCode.getByCountry (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: com.neovisionaries/nv-i18n

/**
 * Get a list of {@code CurrencyCode} instances whose country
 * list contains the specified country.
 *
 * <p>
 * This method is an alias of {@link #getByCountry(String, boolean)
 * getByCountry}{@code (country, false)}.
 * </p>
 *
 * @param country
 *         Country code. ISO 3166-1 alpha-2 or alpha-3.
 *
 * @return
 *         List of {@code CurrencyCode} instances. If there is no
 *         {@code CurrencyCode} instance whose country list contains
 *         the specified country, the size of the returned list is zero.
 *
 * @since 1.13
 */
public static List<CurrencyCode> getByCountryIgnoreCase(String country)
{
  return getByCountry(country, false);
}
origin: TakahikoKawasaki/nv-i18n

/**
 * Get a list of {@code CurrencyCode} instances whose country
 * list contains the specified country.
 *
 * <p>
 * This method is an alias of {@link #getByCountry(String, boolean)
 * getByCountry}{@code (country, false)}.
 * </p>
 *
 * @param country
 *         Country code. ISO 3166-1 alpha-2 or alpha-3.
 *
 * @return
 *         List of {@code CurrencyCode} instances. If there is no
 *         {@code CurrencyCode} instance whose country list contains
 *         the specified country, the size of the returned list is zero.
 *
 * @since 1.13
 */
public static List<CurrencyCode> getByCountryIgnoreCase(String country)
{
  return getByCountry(country, false);
}
origin: com.neovisionaries/nv-i18n

/**
 * Get a list of {@code CurrencyCode} instances whose country
 * list contains the specified country.
 *
 * <p>
 * This method is an alias of {@link #getByCountry(String, boolean)
 * getByCountry}{@code (country, true)}.
 * Note that the behavior has changed since the version 1.13.
 * In the older versions, this method was an alias of {@code
 * getByCountry(code, false)}.
 * </p>
 *
 * @param country
 *         Country code. ISO 3166-1 alpha-2 or alpha-3.
 *
 * @return
 *         List of {@code CurrencyCode} instances. If there is no
 *         {@code CurrencyCode} instance whose country list contains
 *         the specified country, the size of the returned list is zero.
 */
public static List<CurrencyCode> getByCountry(String country)
{
  return getByCountry(country, true);
}
origin: TakahikoKawasaki/nv-i18n

/**
 * Get a list of {@code CurrencyCode} instances whose country
 * list contains the specified country.
 *
 * <p>
 * This method is an alias of {@link #getByCountry(String, boolean)
 * getByCountry}{@code (country, true)}.
 * Note that the behavior has changed since the version 1.13.
 * In the older versions, this method was an alias of {@code
 * getByCountry(code, false)}.
 * </p>
 *
 * @param country
 *         Country code. ISO 3166-1 alpha-2 or alpha-3.
 *
 * @return
 *         List of {@code CurrencyCode} instances. If there is no
 *         {@code CurrencyCode} instance whose country list contains
 *         the specified country, the size of the returned list is zero.
 */
public static List<CurrencyCode> getByCountry(String country)
{
  return getByCountry(country, true);
}
origin: TakahikoKawasaki/nv-i18n

/**
 * Get a list of {@code CurrencyCode} instances whose country
 * list contains the specified country.
 *
 * <p>
 * This method is an alias of {@link #getByCountry(CountryCode)
 * getByCountry}{@code (}{@link CountryCode}{@code .}{@link
 * CountryCode#getByCode(String, boolean) getByCode}{@code
 * (country, caseSensitive))}.
 * </p>
 *
 * @param country
 *         Country code. ISO 3166-1 alpha-2 or alpha-3.
 *
 * @param caseSensitive
 *         If {@code true}, the given code should consist of uppercase
 *         letters only. If {@code false}, case is ignored.
 *
 * @return
 *         List of {@code CurrencyCode} instances. If there is no
 *         {@code CurrencyCode} instance whose country list contains
 *         the specified country, the size of the returned list is zero.
 */
public static List<CurrencyCode> getByCountry(String country, boolean caseSensitive)
{
  return getByCountry(CountryCode.getByCode(country, caseSensitive));
}
origin: com.neovisionaries/nv-i18n

/**
 * Get a list of {@code CurrencyCode} instances whose country
 * list contains the specified country.
 *
 * <p>
 * This method is an alias of {@link #getByCountry(CountryCode)
 * getByCountry}{@code (}{@link CountryCode}{@code .}{@link
 * CountryCode#getByCode(String, boolean) getByCode}{@code
 * (country, caseSensitive))}.
 * </p>
 *
 * @param country
 *         Country code. ISO 3166-1 alpha-2 or alpha-3.
 *
 * @param caseSensitive
 *         If {@code true}, the given code should consist of uppercase
 *         letters only. If {@code false}, case is ignored.
 *
 * @return
 *         List of {@code CurrencyCode} instances. If there is no
 *         {@code CurrencyCode} instance whose country list contains
 *         the specified country, the size of the returned list is zero.
 */
public static List<CurrencyCode> getByCountry(String country, boolean caseSensitive)
{
  return getByCountry(CountryCode.getByCode(country, caseSensitive));
}
com.neovisionaries.i18nCurrencyCodegetByCountry

Javadoc

Get a list of CurrencyCode instances whose country list contains the specified country.

Popular methods of CurrencyCode

  • getName
    Get the currency name.
  • canonicalize
  • findByName
    Get a list of CurrencyCode by a name pattern. For example, the list obtained by the code snippet bel
  • getByCode
    Get a CurrencyCode that corresponds to the givenISO 4217 [http://en.wikipedia.org/wiki/ISO_4217] alp
  • getCountryList
    Get the list of countries using this currency.
  • name
  • values

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Notification (javax.management)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now