org.springframework.boot.autoconfigure.context

Class MessageSourceProperties

  • java.lang.Object
    • org.springframework.boot.autoconfigure.context.MessageSourceProperties


  • public class MessageSourceProperties
    extends Object
    Configuration properties for Message Source.
    Since:
    2.0.0
    Author:
    Stephane Nicoll, Kedar Joshi
    • Constructor Detail

      • MessageSourceProperties

        public MessageSourceProperties()
    • Method Detail

      • getBasename

        public String getBasename()
      • setBasename

        public void setBasename(String basename)
      • getEncoding

        public Charset getEncoding()
      • setEncoding

        public void setEncoding(Charset encoding)
      • getCacheDuration

        public Duration getCacheDuration()
      • setCacheDuration

        public void setCacheDuration(Duration cacheDuration)
      • isFallbackToSystemLocale

        public boolean isFallbackToSystemLocale()
      • setFallbackToSystemLocale

        public void setFallbackToSystemLocale(boolean fallbackToSystemLocale)
      • isAlwaysUseMessageFormat

        public boolean isAlwaysUseMessageFormat()
      • setAlwaysUseMessageFormat

        public void setAlwaysUseMessageFormat(boolean alwaysUseMessageFormat)
      • isUseCodeAsDefaultMessage

        public boolean isUseCodeAsDefaultMessage()
      • setUseCodeAsDefaultMessage

        public void setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage)