Austin Reppert
Austin Reppert

Reputation: 1

Can I make a config for my java program?

Is it possible to make a config to interact with my java application?Say I wanted to ping the ip but I wanted to do this through a config.yml.

Upvotes: 0

Views: 66

Answers (1)

jsalonen
jsalonen

Reputation: 30481

Yes it is possible to write a config and use it in a Java program.

One of the easiest ways to start with is to write your config file in Java's properties format (see http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html).

Upvotes: 2

Related Questions