mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 23:01:05 +08:00
Update README.md
This commit is contained in:
parent
95b31ccd57
commit
a444b4481d
@ -126,6 +126,7 @@ Scala dependency.
|
||||
## Using the Library
|
||||
|
||||
### API Example
|
||||
import com.typesafe.config.ConfigFactory
|
||||
|
||||
Config conf = ConfigFactory.load();
|
||||
int bar1 = conf.getInt("foo.bar");
|
||||
@ -134,7 +135,7 @@ Scala dependency.
|
||||
|
||||
### Longer Examples
|
||||
|
||||
See the examples in the `examples/` directory.
|
||||
See the examples in the `examples/` [directory](https://github.com/typesafehub/config/tree/master/examples).
|
||||
|
||||
You can run these from the sbt console with the commands `project
|
||||
config-simple-app-java` and then `run`.
|
||||
|
Loading…
Reference in New Issue
Block a user