public class Session extends Object implements SectionMap
| 构造器和说明 |
|---|
Session(@Nullable Map<String,Object> values)
Initialize the YamlConfiguration with existed key-value pairs or not (usually not)
|
| 限定符和类型 | 方法和说明 |
|---|---|
SectionMap |
createSection(String key)
Create the section named key
|
SectionMap |
getSection(String key)
Get the section named key
|
Map<String,Object> |
getValues()
Get all the key-value pairs
|
String |
toString() |
public SectionMap createSection(String key)
SectionMapcreateSection 在接口中 SectionMapkey - the key of the Sectionpublic Map<String,Object> getValues()
SectionMapgetValues 在接口中 SectionMappublic SectionMap getSection(String key)
SectionMapgetSection 在接口中 SectionMapkey - the key of the SectionCopyright © 2022. All rights reserved.