Class for working with ini file.

IniFileAccess

Hierarchy (view full)

Constructors

Methods

  • Applies all changes made to the ini file. This way you can change internal MediaMonkey variables and thus change its behaviour on-the-fly without a need to restart MediaMonkey.

    Returns void

  • Deletes the given key in a given section.

    Parameters

    • Section: string

      A section where to find the key to delete.

    • Key: string

      A key to delete.

    Returns void

  • Deletes an entire section in ini file.

    Parameters

    • Section: string

      Section to be deleted.

    Returns void

  • Saves all changes made to the ini file to disk.

    Returns void

  • Reads boolean value from ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    Returns boolean

  • Reads integer value from ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    Returns number

  • Reads string value from ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    Returns string

  • Writes boolean value to ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    • Value: boolean

      Value to be written.

    Returns void

  • Writes integer value to ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    • Value: number

      Value to be written.

    Returns void

  • Writes string value to ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    • Value: string

      Value to be written.

    Returns void

  • Checks existence of the key in the ini file.

    Parameters

    • Section: string

      Section to be accessed.

    • Key: string

      Identifier in the given section.

    Returns boolean