Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- region=dev
- numlines=2
- import com.typesafe.config._
- val propertyFile = args(2)
- val myConfigFile = new File(propertyFile)
- val fileConfig = ConfigFactory.parseFile(myConfigFile)
- val config = ConfigFactory.load(fileConfig)
- val environment = config.getString("region")
- val numberOfLinesToBeRemoved = config.getInt("numlines")
Add Comment
Please, Sign In to add comment