public class CommentFormatter extends AbstractFormatter<IniComment>
IniComment| Constructor and Description |
|---|
CommentFormatter() |
CommentFormatter(char startChar) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String value)
check this value.
|
IniComment |
format(String value,
int line)
this method will not check value, so you should
ElementFormatter.check(String) first. |
getCommentElementFormatter, setCommentElementFormatterpublic CommentFormatter(char startChar)
public CommentFormatter()
public IniComment format(String value, int line)
ElementFormatterElementFormatter.check(String) first.
However, not checking will not necessarily report an error, but may result in non-compliance.value - a String valueline - line numberE, can not be null.public boolean check(String value)
ElementFormattervalue - valueCopyright © 2020. All rights reserved.