Tabnine Logo
Vocabulary.getBundle
Code IndexAdd Tabnine to your IDE (free)

How to use
getBundle
method
in
org.geotools.resources.i18n.Vocabulary

Best Java code snippets using org.geotools.resources.i18n.Vocabulary.getBundle (Showing top 2 results out of 315)

origin: org.geotools/gt-metadata

/**
 * Returns resources in the given locale.
 *
 * @param  locale The locale, or {@code null} for the default locale.
 * @return Resources in the given locale.
 * @throws MissingResourceException if resources can't be found.
 */
public static Vocabulary getResources(Locale locale) throws MissingResourceException {
  if (locale == null) {
    locale = Locale.getDefault();
  }
  return (Vocabulary) getBundle(Vocabulary.class.getName(), locale);
  /*
   * We rely on cache capability of ResourceBundle.
   */
}
origin: org.geotools/gt2-metadata

/**
 * Returns resources in the given locale.
 *
 * @param  locale The locale, or {@code null} for the default locale.
 * @return Resources in the given locale.
 * @throws MissingResourceException if resources can't be found.
 */
public static Vocabulary getResources(Locale locale) throws MissingResourceException {
  if (locale == null) {
    locale = Locale.getDefault();
  }
  return (Vocabulary) getBundle(Vocabulary.class.getName(), locale);
  /*
   * We rely on cache capability of ResourceBundle.
   */
}
org.geotools.resources.i18nVocabularygetBundle

Popular methods of Vocabulary

  • format
    Gets a string for the given key are replace all occurence of "{0}", "{1}", with values of arg0, arg1
  • formatInternational
    Gets an international string for the given key. This method does not check for the key validity. If
  • getResources
    Returns resources in the given locale.
  • getString
  • getLogRecord
  • getLabel
  • getMenuLabel

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JComboBox (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now