Quantcast
Channel: Windows 7 Help Forums - Software
Viewing all articles
Browse latest Browse all 4920

Can a property from a .properties file be made into a usable variable?

$
0
0
I have code to read out lines from .properties, but it just prints it out, because im an idiot and didn't notice till now. So, the question is, can it be made into a variable instead? current code; Code: --------- Properties prop = new Properties(); InputStream input = null; try { input = new FileInputStream("config.properties"); prop.load(input);

Viewing all articles
Browse latest Browse all 4920

Trending Articles