You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by su...@apache.org on 2002/09/14 23:45:21 UTC
cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient Base64.java
sullis 2002/09/14 14:45:21
Modified: httpclient/src/java/org/apache/commons/httpclient
Base64.java
Log:
improved javadocs.
the constructor is now private. (Previously, it was public)
Revision Changes Path
1.12 +14 -5 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/Base64.java
Index: Base64.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/Base64.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Base64.java 5 Aug 2002 14:22:44 -0000 1.11
+++ Base64.java 14 Sep 2002 21:45:21 -0000 1.12
@@ -70,10 +70,14 @@
* N. Freed and N. Borenstein.
* RFC 2045: Multipurpose Internet Mail Extensions (MIME)
* Part One: Format of Internet Message Bodies. Reference
- * 1996. Available at: http://www.ietf.org/rfc/rfc2045.txt
+ * 1996. Available at:
+ * <a href="http://www.ietf.org/rfc/rfc2045.txt">
+ * http://www.ietf.org/rfc/rfc2045.txt</a>
* </p>
+ *
* @author Jeffrey Rodriguez
* @version $Revision$ $Date$
+ *
*/
public final class Base64 {
private static final int BASELENGTH = 255;
@@ -123,6 +127,11 @@
}
+ private Base64()
+ {
+ // the constructor is intentionally private
+ }
+
public static boolean isBase64(String isValidString) {
return isArrayByteBase64(isValidString.getBytes());
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>