| Package | Description |
|---|---|
| org.aoju.bus.setting |
Setting模块主要针对Properties、ini、yaml等文件读写做封装
同时定义一套自己的配置文件规范,实现兼容性良好的配置工具
|
| org.aoju.bus.setting.format |
配置文件格式化封装
|
| org.aoju.bus.setting.magic |
配置文件实现封装
|
| Modifier and Type | Method and Description |
|---|---|
IniSection |
Builder.IniSectionCreator.create(String value,
int line,
IniComment comment)
create a section by value
|
| Modifier and Type | Method and Description |
|---|---|
Supplier<ElementFormatter<IniSection>> |
Readers.getSectionElementFormatterSupplier() |
| Modifier and Type | Method and Description |
|---|---|
Format |
Factory.apply(ElementFormatter<IniComment> commentElementFormatter,
ElementFormatter<IniSection> sectionElementFormatter,
ElementFormatter<IniProperty> propertyElementFormatter)
通过三个字符获取一个iniFormatter
|
void |
Readers.setSectionElementFormatterSupplier(Supplier<ElementFormatter<IniSection>> sectionElementFormatterSupplier) |
| Modifier and Type | Field and Description |
|---|---|
protected IniSection |
DefaultFormatter.lastSection
last section
|
| Modifier and Type | Field and Description |
|---|---|
protected ElementFormatter<IniSection> |
DefaultFormatter.sectionElementFormatter |
| Modifier and Type | Method and Description |
|---|---|
IniSection |
SectionFormatter.format(String value,
int line)
this method will not check value, so you should
SectionFormatter.check(String) first. |
| Constructor and Description |
|---|
DefaultFormatter(ElementFormatter<IniComment> commentElementFormatter,
ElementFormatter<IniSection> sectionElementFormatter,
ElementFormatter<IniProperty> propertyElementFormatter) |
| Modifier and Type | Class and Description |
|---|---|
class |
IniSectionImpl
Ini file's Section
|
| Modifier and Type | Method and Description |
|---|---|
IniSection |
IniPropertyImpl.getSection() |
IniSection |
IniProperty.getSection()
section getter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IniPropertyImpl.setSection(IniSection section) |
void |
IniProperty.setSection(IniSection section)
section setter.
|
| Constructor and Description |
|---|
IniPropertyImpl(IniSection section,
String key,
String value,
int lineNumber)
IniProperty constructor
|
IniPropertyImpl(IniSection section,
String key,
String value,
String originalValue,
int lineNumber)
IniProperty constructor
|
Copyright © 2022. All rights reserved.