Interface LocalizedProducer<T>

Type Parameters:
T - the type to produce
All Superinterfaces:
Producer<T>, jakarta.inject.Provider<T>, com.google.common.base.Supplier<T>, Supplier<T>
All Known Implementing Classes:
LocalizedLazyThreadSafeProducer, OwsServiceIdentificationFactory, OwsServiceProviderFactory

public interface LocalizedProducer<T> extends Producer<T>
Generic Factory interface.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Locale language)
    Get language specific Producer result
    Gets the Locales available to this Producer.

    Methods inherited from interface org.n52.janmayen.Producer

    get

    Methods inherited from interface com.google.common.base.Supplier

    equals
  • Method Details

    • get

      T get(Locale language)
      Get language specific Producer result
      Parameters:
      language - The resulting language
      Returns:
      Result in the specified language
    • getAvailableLocales

      Set<Locale> getAvailableLocales()
      Gets the Locales available to this Producer.
      Returns:
      the locales