Module utilities

Class DescribedLevel

java.lang.Object
java.util.logging.Level
de.grogra.util.DescribedLevel
All Implemented Interfaces:
Described, Serializable

public class DescribedLevel extends Level implements Described
See Also:
  • Constructor Details

    • DescribedLevel

      public DescribedLevel(I18NBundle bundle, String key, int value)
  • Method Details

    • getLocalizedName

      public String getLocalizedName()
      Overrides:
      getLocalizedName in class Level
    • getDescription

      public Object getDescription(String type)
      Description copied from interface: Described
      Returns the description associated with the given type. type has to be one of the predefined constants of this interface, the returned value has to conform to the specification of the used constant.
      Specified by:
      getDescription in interface Described
      Parameters:
      type - the type of description
      Returns:
      the description, or null if no description is available