/ Published in: Java
I decided to use JSON configs, which is faster&simpler.
Config file structure:
PROPERTY_STRING_1=str
PROPERTY_STRING_2=str2
Config file structure:
PROPERTY_STRING_1=str
PROPERTY_STRING_2=str2
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static void loadConfig() { try { prop.load(input); ex.printStackTrace(); } finally { if (input != null) { try { input.close(); e.printStackTrace(); } } } }