public class Config {
private Feed[] feeds;
private Category[] categories;
+ private final String[] languages = { "fr", "en" };
private static final Logger LOG = Logger.getLogger(Config.class.getName());
private void loadCategories(JsonArray jcats) {
return categories[0];
}
+ public String[] getLanguages() {
+ return languages;
+ }
+
public static void main(String[] args) throws UnsupportedEncodingException {
Config cfg;
Feed[] feeds;