Package org.aoju.bus.setting.magic
Interface IniProperty
- All Superinterfaces:
CharSequence,IniElement,Map.Entry<String,,String> Serializable
- All Known Implementing Classes:
IniPropertyImpl
Ini file's parameters, like
property1=value1 - Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionvoidchange key value.default StringgetKey()get keysection getter.default StringgetValue()get valuekey()get key valueset a new Key.voidsetSection(IniSection section) section setter.Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, isEmpty, length, subSequenceMethods inherited from interface org.aoju.bus.setting.magic.IniElement
clearComment, getComment, getCommentOptional, getOriginalValue, isComment, isProperty, isSection, line, setValue, setValue, toCompleteString, toNoCommentString, toString, value
-
Method Details
-
getSection
IniSection getSection()section getter.- Returns:
- from section
-
setSection
section setter.- Parameters:
section- from section
-
key
String key()get key value- Returns:
- String field: key
-
changeKey
change key value.- Parameters:
newKey- new key.
-
setKey
set a new Key.- Parameters:
newKey- new Key- Returns:
- old value.
-
getKey
get key -
getValue
get value
-