-
Notifications
You must be signed in to change notification settings - Fork 1
First use
Medialo edited this page Jun 10, 2021
·
1 revision
Start by create an instance of PbmYaml:
PbmYaml yaml = new PbmYaml();
To load a file, you have some methods:
yaml.load("myConfigFile");
.yml extension is automatically added to the file's name.
To force an extension use:
yaml.load("myConfigFile","extension");
yaml.load("myConfigFile","config"); // will produce the file name --> myConfigFile.config
Now you are ready to use your yaml file !