Package factbookxml.converter.pda.schema

Examples of factbookxml.converter.pda.schema.ParsedNews


  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();
      nn.setDate(parseDate(n.getDate()));
      nn.setValue(n.getValue());
      factbook.getNews().add(nn);
    }
View Full Code Here

TOP

Related Classes of factbookxml.converter.pda.schema.ParsedNews

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.