*
* @throws java.io.IOException
*/
public void readFile() throws IOException {
if (configPath == null || configPath.trim().equals("")) {
throw new NullConfigPathException("Config is null or empty.");
}
switch (configType) {
case URL:
URLConnection urlConn = new URL(configPath).openConnection();
urlConn.setDoInput(true);