Hello,
Using eclipse IDE I developed a java library.
I also exported it as a jar file.
I also created the java-doc for the project.
I added the doc/ folder to the jar too.
I created a test project and added my java library as external jar. I see that my library code works fine. But the IDE is not showing the documentation for the functions and properties tellgamestop. I want to make the IDE refer to the doc automatically. How to do that. I am gonna publish this library. How to make IDEs refer to the java-doc of my library. Is there any procedure?
/**
* The Class JavaSMTPMailer.
*/
public class JavaSMTPMailer {
/** The host. */
private String host;
/** The port. */
private String port;
/** The username. */
private String username;
/** The password. */
private String password;
/** The SMTP secure. */
private String SMTPSecure = "tls";
/** The use auth. */
private boolean useAuth = false;
/** The global sender. */
private InternetAddress globalSender = null;
/** The global reply mail. */
private InternetAddress[] globalReplyMail = null;
/** The session. */
private Session session;
/** The mail. */
private Mail mail;
/**
* Instantiates a new java SMTP mailer.
*
* @param host the host
* @param port the port
*/
public JavaSMTPMailer(String host, String port){
this.host = host;
this.port = port;
}
/**
* Instantiates a new java SMTP mailer.
*
* @param host the host
* @param port the port
* @param username the username
* @param password the password
*/
public JavaSMTPMailer(String host, String port,String username, String password){
this(host, port);
this.username = username;
this.password = password;
this.useAuth = true;
}
[Updated on: Sat, 29 February 2020 00:42] by Moderator