Class LocalizedResource.Localizer

  • Enclosing class:
    LocalizedResource

    public class LocalizedResource.Localizer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T getField​(java.lang.String key)
      Extracts a field from the fields set of the active locale, result type is inferred.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getField

        public <T> T getField​(java.lang.String key)
        Extracts a field from the fields set of the active locale, result type is inferred.
        Type Parameters:
        T - type.
        Parameters:
        key - field key.
        Returns:
        field value, null if it doesn't exist.