public void testParser() throws IOException {
TemplateContextFactory templateContextFactory = new TemplateContextFactory();
templateContextFactory.addFilter("html", new HtmlFilter());
- FreenetLinkParser parser = new FreenetLinkParser(templateContextFactory);
- FreenetLinkParserContext context = new FreenetLinkParserContext(null);
+ FreenetLinkParser parser = new FreenetLinkParser(null, templateContextFactory);
+ FreenetLinkParserContext context = new FreenetLinkParserContext(null, null);
Part part;
part = parser.parse(context, new StringReader("Text."));