Interface IniProperty

All Superinterfaces:
CharSequence, IniElement, Map.Entry<String,String>, Serializable
All Known Implementing Classes:
IniPropertyService

public interface IniProperty extends Map.Entry<String,String>, IniElement
Ini file's parameters, like property1=value1
Since:
Java 17+
Author:
Kimi Liu
  • Method Details

    • getSection

      IniSection getSection()
      section getter.
      Returns:
      from section
    • setSection

      void setSection(IniSection section)
      section setter.
      Parameters:
      section - from section
    • key

      String key()
      get key value
      Returns:
      String field: key
    • changeKey

      void changeKey(String newKey)
      change key value.
      Parameters:
      newKey - new key.
    • setKey

      String setKey(String newKey)
      set a new Key.
      Parameters:
      newKey - new Key
      Returns:
      old value.
    • getKey

      default String getKey()
      get key
      Specified by:
      getKey in interface Map.Entry<String,String>
      Returns:
      key
      See Also:
    • getValue

      default String getValue()
      get value
      Specified by:
      getValue in interface Map.Entry<String,String>
      Returns:
      value
      See Also: