Author: rwinston
Date: Thu Feb 21 04:02:45 2008
New Revision: 629762
URL: http://svn.apache.org/viewvc?rev=629762&view=rev
Log:
Add subclass constuctor
Modified:
commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/smtp/SMTPClient.java
Modified:
commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/smtp/SMTPClient.java
URL:
http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/smtp/SMTPClient.java?rev=629762&r1=629761&r2=629762&view=diff
==============================================================================
---
commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/smtp/SMTPClient.java
(original)
+++
commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/smtp/SMTPClient.java
Thu Feb 21 04:02:45 2008
@@ -126,10 +126,18 @@
public class SMTPClient extends SMTP
{
- /*
+ /**
* Default SMTPClient constructor. Creates a new SMTPClient instance.
*/
- //public SMTPClient() { }
+ public SMTPClient() { }
+
+ /**
+ * Overloaded constructor that takes an encoding specification
+ * @param encoding The encoding to use
+ */
+ public SMTPClient(String encoding) {
+ super(encoding);
+ }
/***