- In NetBeans(8.0 in this post), select [Tools] -> [Libraries]
- [New Library] and add related jars to your library
- That's it! Now add the created Library to your classpath and check API docs while programming!
1: public class Tester {
2: public static void main (String[] args) throws ParseException{
3: CharOutputSink outputSink = new CharOutputSink();
4: StreamProcessor sp = new StreamProcessor(
5: RdfaParser.connect(TurtleSerializer.connect(outputSink)));
6: outputSink.connect(System.out);
7: sp.process("http://localhost:8888/WiseWord/index.php");
8: }
9: }