public class IniCommentImpl extends AbstractElement implements IniComment
| Constructor and Description |
|---|
IniCommentImpl(String originalValue,
int lineNumber) |
IniCommentImpl(String value,
String originalValue,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
static IniCommentImpl |
byValue(String value,
int lineNumber)
Get instance only based on 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, waitclearComment, getComment, toNoCommentStringgetCommentOptional, getOriginalValue, isComment, isProperty, isSection, line, setValue, setValue, toCompleteString, toString, valuecharAt, chars, codePoints, length, subSequencepublic IniCommentImpl(String originalValue, int lineNumber)
public static IniCommentImpl byValue(String value, int lineNumber)
value - valuelineNumber - line numberprotected String valueChanged(String newValue)
valueChanged in class AbstractElementnewValue - when value changes,
like AbstractElement.setValue(String) or
IniElement.setValue(java.util.function.Function)Copyright © 2022. All rights reserved.