ex.printStackTrace();
}
}
public static void parseBack(File dir) throws Exception {
ParsedIndex idx = parse(dir, "index.html", "index", "", ParsedIndex.class);
String lastupdate = idx.getUpdate();
Factbook factbook = obf.createFactbook();
factbook.setLastupdate(toXMLDate(lastupdate));
ParsedNews news = parse(dir, "news.html", "news", "", ParsedNews.class);
for (ParsedNews.News n : news.getNews()) {
Factbook.News nn = new Factbook.News();