public class IniSectionImpl extends AbstractElement implements IniSection
| Constructor and Description |
|---|
IniSectionImpl(String value,
int lineNumber) |
IniSectionImpl(String value,
int lineNumber,
IniComment comment) |
IniSectionImpl(String value,
String originalValue,
int lineNumber) |
IniSectionImpl(String value,
String originalValue,
int lineNumber,
IniComment comment) |
IniSectionImpl(String value,
String originalValue,
int lineNumber,
IniComment comment,
Supplier<List<IniProperty>> listSupplier) |
IniSectionImpl(String value,
String originalValue,
int lineNumber,
Supplier<List<IniProperty>> listSupplier) |
| Modifier and Type | Method and Description |
|---|---|
List<IniProperty> |
getList()
get IniProperty list.
|
List<IniProperty> |
getList(Supplier<List<IniProperty>> listSupplier)
get IniProperty list.
|
List<IniProperty> |
getProxyList()
|
String |
toPropertiesString()
toString, with all iniProperties value.
|
protected String |
valueChanged(String newValue)
If the
value changed, change the originalValue |
changeValue, charAt, clearComment, getComment, getOriginalValue, length, line, setOriginalValue, setValue, subSequence, toCompleteString, toNoCommentString, toString, trim, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArrayequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamclearComment, getComment, getCommentOptional, getOriginalValue, isComment, isProperty, isSection, line, setValue, setValue, toCompleteString, toNoCommentString, toString, valuecharAt, chars, codePoints, length, subSequencepublic IniSectionImpl(String value, int lineNumber)
public IniSectionImpl(String value, String originalValue, int lineNumber, Supplier<List<IniProperty>> listSupplier)
public IniSectionImpl(String value, int lineNumber, IniComment comment)
public IniSectionImpl(String value, String originalValue, int lineNumber, IniComment comment)
public IniSectionImpl(String value, String originalValue, int lineNumber, IniComment comment, Supplier<List<IniProperty>> listSupplier)
protected String valueChanged(String newValue)
value changed, change the originalValuevalueChanged in class AbstractElementnewValue - when value changes, like AbstractElement.setValue(String) or IniElement.setValue(Function)public String toPropertiesString()
toPropertiesString in interface IniSectionpublic List<IniProperty> getList()
getList in interface IniSectionpublic List<IniProperty> getList(Supplier<List<IniProperty>> listSupplier)
getList in interface IniSectionlistSupplier - ini property list supplierpublic List<IniProperty> getProxyList()
getProxyList in interface ProxyList<IniProperty>Copyright © 2020. All rights reserved.