Merge pull request #175 from benjaminjackman/master

Update README.md
This commit is contained in:
Havoc Pennington 2014-06-30 09:55:07 -04:00
commit 99afd721a5

View File

@ -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`.