|
64 | 64 |
|
65 | 65 | /** |
66 | 66 | * Provides encode/decode for RFC 2045 Base64 as |
67 | | - * defined by RFC 2045, by Freed and Borenstein. <a |
68 | | - * href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>: |
69 | | - * Multipurpose Internet Mail Extensions (MIME) Part One: Format of |
70 | | - * Internet Message Bodies. Reference 1996. |
| 67 | + * defined by RFC 2045, by Freed and Borenstein. |
71 | 68 | * |
| 69 | + * @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>, by Freed and Borenstein: |
| 70 | + * Multipurpose Internet Mail Extensions (MIME) Part One: |
| 71 | + * Format of Internet Message Bodies. Reference 1996. |
72 | 72 | * @author Jeffrey Rodriguez |
73 | 73 | * @author <a href="mailto:dlr@apache.org">Daniel Rall</a> |
74 | 74 | * @author <a href="mailto:m.redington@ucl.ac.uk">Martin Redington</a> |
75 | 75 | * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a> |
76 | 76 | * @author Tim O'Brien |
77 | 77 | * @since 1.0-dev |
78 | | - * @version $Id: Base64.java,v 1.11 2003/10/12 19:48:15 tobrien Exp $ |
| 78 | + * @version $Id: Base64.java,v 1.12 2003/11/03 22:16:54 ggregory Exp $ |
79 | 79 | */ |
80 | 80 | public class Base64 implements BinaryEncoder, BinaryDecoder { |
81 | 81 |
|
@@ -263,7 +263,7 @@ public Object decode(Object pObject) throws DecoderException { |
263 | 263 | * @throws DecoderException if there is an Decoder specific exception |
264 | 264 | * during the decoding process |
265 | 265 | */ |
266 | | - public byte[] decode(byte[] pArray) throws DecoderException { |
| 266 | + public byte[] decode(byte[] pArray) { |
267 | 267 | byte[] result; |
268 | 268 | result = decodeBase64(pArray); |
269 | 269 | return (result); |
@@ -574,7 +574,7 @@ public Object encode(Object pObject) throws EncoderException { |
574 | 574 | * @throws EncoderException if there is an Encoder specific exception |
575 | 575 | * during the encoding process |
576 | 576 | */ |
577 | | - public byte[] encode(byte[] pArray) throws EncoderException { |
| 577 | + public byte[] encode(byte[] pArray) { |
578 | 578 | return (encodeBase64(pArray, false)); |
579 | 579 | } |
580 | 580 |
|
|
0 commit comments