Class PropertyFormatter


  • public final class PropertyFormatter
    extends java.lang.Object
    Extracts the configuration into flat key-value property structure by reflection.
    Since:
    6.0
    Author:
    Michal Linhard (mlinhard@redhat.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyFormatter()
      Create a new PropertyFormatter instance.
      PropertyFormatter​(java.lang.String globalConfigPrefix, java.lang.String configPrefix)
      Create a new PropertyFormatter instance.
    • Constructor Detail

      • PropertyFormatter

        public PropertyFormatter()
        Create a new PropertyFormatter instance.
      • PropertyFormatter

        public PropertyFormatter​(java.lang.String globalConfigPrefix,
                                 java.lang.String configPrefix)
        Create a new PropertyFormatter instance.
        Parameters:
        globalConfigPrefix - Prefix used for global configuration property keys.
        configPrefix - Prefix used for cache configuration property keys.
    • Method Detail

      • format

        public java.util.Properties format​(Configuration configuration)