de.caff.util.settings

## Class SettingsTools

- java.lang.Object
- - de.caff.util.settings.SettingsTools

-     public class SettingsTools
      extends java.lang.Object

  Helpful methods.
  Author:
    Rammi

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SettingsTools()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static double` | `getHumanStepNear(double value)` Get a step for double setters which is pleasing humans.
    `static java.lang.String` | `getOptionalI18nString(java.lang.String tag, java.util.Locale l)` Get an optional I18n string.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SettingsTools

          public SettingsTools()

  - ### Method Detail

    - #### getOptionalI18nString

          public static java.lang.String getOptionalI18nString(java.lang.String tag,
                                                               java.util.Locale l)

      Get an optional I18n string.
      Parameters:
        `tag` - tag
        `l` - locale
      Returns:
        i18n string or `null`

    - #### getHumanStepNear

          public static double getHumanStepNear(double value)

      Get a step for double setters which is pleasing humans.
      Parameters:
        `value` - calculated stepper value
      Returns:
        stepper value which is more pleasing for humans