| Package | Description |
|---|---|
| org.aoju.bus.setting | |
| org.aoju.bus.setting.format | |
| org.aoju.bus.setting.magic |
| Modifier and Type | Method and Description |
|---|---|
IniProperty |
Builder.IniPropertyCreator.create(String key,
String value,
int line,
IniComment comment)
create a property by value
|
| Modifier and Type | Method and Description |
|---|---|
Supplier<ElementFormatter<IniProperty>> |
Readers.getPropertyElementFormatterSupplier() |
| Modifier and Type | Method and Description |
|---|---|
Format |
Factory.apply(ElementFormatter<IniComment> commentElementFormatter,
ElementFormatter<IniSection> sectionElementFormatter,
ElementFormatter<IniProperty> propertyElementFormatter)
通过三个字符获取一个iniFormatter
|
void |
Readers.setPropertyElementFormatterSupplier(Supplier<ElementFormatter<IniProperty>> propertyElementFormatterSupplier) |
| Modifier and Type | Field and Description |
|---|---|
protected ElementFormatter<IniProperty> |
DefaultFormatter.propertyElementFormatter |
| Modifier and Type | Method and Description |
|---|---|
IniProperty |
PropertyFormatter.format(String value,
int line)
此方法不会检查值,因此您应该首先
PropertyFormatter.check(String)
但是,不检查并不一定会报告错误,但可能会导致违规 |
| Constructor and Description |
|---|
DefaultFormatter(ElementFormatter<IniComment> commentElementFormatter,
ElementFormatter<IniSection> sectionElementFormatter,
ElementFormatter<IniProperty> propertyElementFormatter) |
| Modifier and Type | Class and Description |
|---|---|
class |
IniPropertyImpl
Ini file's parameters, like
property1=value1 |
| Modifier and Type | Method and Description |
|---|---|
List<IniProperty> |
IniSectionImpl.getList()
get IniProperty list.
|
List<IniProperty> |
IniSection.getList()
get IniProperty list.
|
List<IniProperty> |
IniSectionImpl.getList(Supplier<List<IniProperty>> listSupplier)
get IniProperty list.
|
List<IniProperty> |
IniSection.getList(Supplier<List<IniProperty>> listSupplier)
get IniProperty list.
|
List<IniProperty> |
IniSectionImpl.getProxyList()
if you want to get the
IniProperty list,
use IniSectionImpl.getList() or IniSectionImpl.getList(Supplier). |
| Modifier and Type | Method and Description |
|---|---|
List<IniProperty> |
IniSectionImpl.getList(Supplier<List<IniProperty>> listSupplier)
get IniProperty list.
|
List<IniProperty> |
IniSection.getList(Supplier<List<IniProperty>> listSupplier)
get IniProperty list.
|
| Constructor and Description |
|---|
IniSectionImpl(String value,
String originalValue,
int lineNumber,
IniComment comment,
Supplier<List<IniProperty>> listSupplier) |
IniSectionImpl(String value,
String originalValue,
int lineNumber,
Supplier<List<IniProperty>> listSupplier) |
Copyright © 2021. All rights reserved.