| Package | Description |
|---|---|
| org.aoju.bus.setting | |
| org.aoju.bus.setting.format | |
| org.aoju.bus.setting.magic |
| Modifier and Type | Method and Description |
|---|---|
IniComment |
Builder.IniCommentCreator.create(String value,
int line)
create a Comment by value
|
| Modifier and Type | Method and Description |
|---|---|
Supplier<ElementFormatter<IniComment>> |
Readers.getCommentElementFormatterSupplier() |
| Modifier and Type | Method and Description |
|---|---|
IniSection |
Builder.IniSectionCreator.create(String value,
int line,
IniComment comment)
create a section by value
|
IniProperty |
Builder.IniPropertyCreator.create(String key,
String value,
int line,
IniComment comment)
create a property by value
|
Builder |
Builder.plusProperties(Properties properties,
IniComment comment)
Plus properties
|
Builder |
Builder.plusProperty(String key,
String value,
IniComment comment)
Plus a property
|
Builder |
Builder.plusSection(String value,
IniComment comment)
Plus a section with comment
|
| Modifier and Type | Method and Description |
|---|---|
Format |
Factory.apply(ElementFormatter<IniComment> commentElementFormatter,
ElementFormatter<IniSection> sectionElementFormatter,
ElementFormatter<IniProperty> propertyElementFormatter)
通过三个字符获取一个iniFormatter
|
void |
Readers.setCommentElementFormatterSupplier(Supplier<ElementFormatter<IniComment>> commentElementFormatterSupplier) |
| Modifier and Type | Field and Description |
|---|---|
protected ElementFormatter<IniComment> |
DefaultFormatter.commentElementFormatter |
| Modifier and Type | Method and Description |
|---|---|
IniComment |
CommentFormatter.format(String value,
int line) |
| Constructor and Description |
|---|
DefaultFormatter(ElementFormatter<IniComment> commentElementFormatter,
ElementFormatter<IniSection> sectionElementFormatter,
ElementFormatter<IniProperty> propertyElementFormatter) |
| Modifier and Type | Class and Description |
|---|---|
class |
IniCommentImpl
Ini file's comment.
|
| Modifier and Type | Method and Description |
|---|---|
IniComment |
IniPropertyImpl.getComment()
default ini property's comment is null.
|
IniComment |
IniElement.getComment()
there may be comments at the end of each element.
|
default IniComment |
IniComment.getComment()
there may be comments at the end of each element.
|
IniComment |
AbstractElement.getComment() |
| Modifier and Type | Method and Description |
|---|---|
default Optional<IniComment> |
IniElement.getCommentOptional()
there may be comments at the end of each element.
|
| Constructor and Description |
|---|
IniSectionImpl(String value,
int lineNumber,
IniComment comment) |
IniSectionImpl(String value,
String originalValue,
int lineNumber,
IniComment comment) |
IniSectionImpl(String value,
String originalValue,
int lineNumber,
IniComment comment,
Supplier<List<IniProperty>> listSupplier) |
Copyright © 2021. All rights reserved.