Interface LocaleExtractor<C>

Type Parameters:
C - command sender type

@API(status=STABLE) public interface LocaleExtractor<C>
Extractor that extracts locales from command senders.
  • Method Summary

    Modifier and Type
    Method
    Description
    extract(@NonNull C recipient)
    Extracts the locale from the given recipient.
  • Method Details

    • extract

      @NonNull Locale extract(@NonNull C recipient)
      Extracts the locale from the given recipient.
      Parameters:
      recipient - recipient to extract locale from
      Returns:
      the extracted locale