This question already has answers here:
Are there some good and modern alternatives to Javadoc? [closed]
(12 answers)
Closed 8 years ago.
I have been using Java for years I really like the language except javadoc.
The document generated by javadoc makes me feel I am browsing web in 1990s. To make some beauty doc you have to insert obscure html tags which make your comments almost unreadable before generating html file.
I am seeking some alternative for javadoc, reStructuredText is my first choice but there is no doclet for it. Another choice is markdown, but it mainly aims to html so I treat it as my last resort if I can't figure out any other way.
I am also considering split comment from java file, but it bothers developers who browse code in IDE.
Any good ideas?
You may not need to use an alternative to Javadoc.
If you are using Java 7, the new version of Javadoc has been redesigned.
Here's an example of the output: Java 7 Reference
Related
This question already has answers here:
Extract all string from a java project
(5 answers)
Closed 8 years ago.
I inherited a Java-Application with many many hardcoded Strings that should have been localized. THe code-base is huge and I need an overview about all the used hardcoded String values in the code. Is there a tool (or an IDE-function; I use Eclipse and IntelliJ IDEA) that extracts all strings from Java-classes?
With Eclipse you can use the menu option Source > Externalize Strings...
This only works on a single file at a time however.
I would recomend you to run your code through SonarCube. It's great tool that gives you a good overview the projects technical debt.
This question already has answers here:
Embedded Prolog Interpreter/Compiler for Java
(13 answers)
Closed 8 years ago.
I hope my question is not a duplicate... I have implemented some rules using Prolog. I would like to ask if there is any way to use these rules in a java application. I do not want to implement everything in java from scratch. I would like to embed the code written in Prolog in a java application. Thanks in advance.
There are various ways. But judging from your question you're looking for a quick solution.
JPL (since i notice a lot of people are using SWI nowadays):
http://www.swi-prolog.org/FAQ/Java.html
The GNU Prolog library for Java:
http://www.gnu.org/software/gnuprologjava/
SICtus (It comes with syntax examples, etc so it shouldn't be hard for you to use it quickly)
http://sicstus.sics.se/sicstus/docs/3.7.1/html/sicstus_12.html
tuProlog (Said to be the easiest to use, beginner friendly)
http://www.alice.unibo.it/xwiki/bin/view/Tuprolog/
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is there any program like LINQPad for Java?
My question is similar to Is there any program like LINQPad for Java?, but not the same.
Like the author of the original question, I am not interested in the database quering capabilities provided by LinqPad.
What I am looking for is a desktop utility to run short java code snippets. I am not interested in any web based solutions, so groovy web console is out of the question.
(Showing Java byte code is a bonus, but not a must)
Thanks.
This can be done using Eclipse scrapbook pages.
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
A Java API to generate Java source files
Is there a good library for generating Java source code (not bytecode)?
CodeModel and Eclipse JDT worked for this fellow, and he ultimately chose CodeModel.
Try this http://code.google.com/p/javaparser/ i use this to rewrite huge portions of my existing code base, also ASTs can be constructed with this and it is a readable wrapper written over eclipse core....
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Java : Is there a good natural language processing library
are there any known open source distributions that one can use like nltk for python?
GATE is the most famous industry-level librarywith a java implementation I can think of.
It is truly powerful.
Otherwise:
OpenNLP
LingPipe
Xerox used to have a set of nice online tools as well, but I don't know if they have a Java implementation or any accessible web-services for them.