categories = Integer.parseInt(categoryStr);
} catch (NumberFormatException e) {
categories = Channel.CATEGORY_NONE;
}
}
Channel channel = new Channel(dataService, name, id, TimeZone.getTimeZone(timezone), country, copyright,
webpage, mGroup, null, categories, unescapedname);
if (iconLoader != null && iconUrl != null && iconUrl.length() > 0) {
Icon icon = iconLoader.getIcon(id, iconUrl);
if (icon != null) {
channel.setDefaultIcon(icon);
}
}
addChannel(channel, iconUrl);
lineCount++;
}