String line;
while ((line = br.readLine()) != null) {
if (line.trim().equals("") || line.startsWith("#")) {
continue; // skip blank lines and comments
}
ParameterList pl = new ParameterList(line);
pl.get(line);
// TODO Continue implementing
String protocol = pl.get("protocol");
String className = pl.get("class");
String typeString = pl.get("type");
Type type = Provider.Type.getType(typeString);
String vendor = pl.get("vendor");
String version = pl.get("version");
Provider provider =
new Provider(protocol, className, type, vendor, version);
_providers.put(typeString, provider);
}
br.close();