コード例 #1
0
ファイル: HtmlTagSubstitutor.java プロジェクト: Thane89/ofx
  public static void main(String args[]) {
    LoggerInit loggerInit = new LoggerInit("log4j.xml");
    loggerInit.addAltPath("resources/config");
    loggerInit.init();

    File f = new File("/Users/thorsten/Documents/workspace/openfuxml/output/fuxml/jWan/html/jWAN");
    Collection<String> c = new ArrayList<String>();

    HtmlTagSubstitutor hpf = new HtmlTagSubstitutor("html");
    hpf.start(
        f, c, "/Users/thorsten/Documents/workspace/svn/jwan/system/config/HtmlTagSubstitute.xml");
  }
コード例 #2
0
  public static void main(String args[]) {
    LoggerInit loggerInit = new LoggerInit("log4j.xml");
    loggerInit.addAltPath("resources/config");
    loggerInit.init();

    File f = new File("/Users/thorsten/Documents/workspace/openfuxml/output/fuxml/jWan/html/jWAN");
    Collection<String> c = new ArrayList<String>();

    HtmlPrettyFormatter hpf = new HtmlPrettyFormatter("html");
    hpf.start(f, c);
    logger.debug("Processed files: " + c.size());
  }