I'm glad you find RSTA useful! As for adding your own Javadoc, the library only currently supports loading documentation from a source zip (or directory), not from Javadoc per-se (I haven't implemented a Javadoc HTML parser). Here's an example of loading doc from a source zip:
- Code: Select all
JarInfo info = new JarInfo(new File("myLib.jar"));
JavaLanguageSupport jls = (JavaLanguageSupport)LanguageSupportFactory.getSupportFor(SyntaxConstants.SYNTAX_STYLE_JAVA);
Does that help?