Package org.openqa.selenium.grid.config
Class TomlConfig
- java.lang.Object
-
- org.openqa.selenium.grid.config.TomlConfig
-
-
Constructor Summary
Constructors Constructor Description TomlConfig(java.io.Reader reader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Config
from(java.nio.file.Path path)
java.util.Optional<java.util.List<java.lang.String>>
getAll(java.lang.String section, java.lang.String option)
java.util.Set<java.lang.String>
getOptions(java.lang.String section)
java.util.Set<java.lang.String>
getSectionNames()
-
-
-
Method Detail
-
from
public static Config from(java.nio.file.Path path)
-
getAll
public java.util.Optional<java.util.List<java.lang.String>> getAll(java.lang.String section, java.lang.String option)
-
getSectionNames
public java.util.Set<java.lang.String> getSectionNames()
- Specified by:
getSectionNames
in interfaceConfig
-
getOptions
public java.util.Set<java.lang.String> getOptions(java.lang.String section)
- Specified by:
getOptions
in interfaceConfig
-
-