FileInputStream fin = null;
BufferedInputStream bin = null;
try {
fin = new FileInputStream(fTrackers);
bin = new BufferedInputStream(fin, 8192);
Map map = BDecoder.decode(bin);
List list = (List) map.get("trackers");
if(list != null) {
Iterator iter = list.iterator();
while(iter.hasNext()) {
String tracker = new String((byte[])iter.next());
trackers.add(tracker);
}
}
Map mapMT = (Map) map.get("multi-trackers");
if(mapMT != null) {
Iterator iter = mapMT.keySet().iterator();
while(iter.hasNext()) {
String configName = (String) iter.next();
List groups = (List) mapMT.get(configName);
List resGroups = new ArrayList(groups.size());
Iterator iterGroups = groups.iterator();
while(iterGroups.hasNext()) {
List theseTrackers = (List) iterGroups.next();
List resTrackers = new ArrayList(theseTrackers.size());