File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/codec/net Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ public BCodec() {
6666 * the default string charset to use.
6767 *
6868 * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
69+ * @since 1.7
6970 */
7071 public BCodec (final Charset charset ) {
7172 this .charset = charset ;
@@ -117,6 +118,7 @@ protected byte[] doDecoding(byte[] bytes) {
117118 *
118119 * @throws EncoderException
119120 * thrown if a failure condition is encountered during the encoding process.
121+ * @since 1.7
120122 */
121123 public String encode (final String value , final Charset charset ) throws EncoderException {
122124 if (value == null ) {
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ public QCodec() {
121121 * the default string charset to use.
122122 *
123123 * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
124+ * @since 1.7
124125 */
125126 public QCodec (final Charset charset ) {
126127 super ();
@@ -200,6 +201,7 @@ protected byte[] doDecoding(byte[] bytes) throws DecoderException {
200201 *
201202 * @throws EncoderException
202203 * thrown if a failure condition is encountered during the encoding process.
204+ * @since 1.7
203205 */
204206 public String encode (final String str , final Charset charset ) throws EncoderException {
205207 if (str == null ) {
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public QuotedPrintableCodec() {
104104 * the default string charset to use.
105105 * @throws UnsupportedCharsetException
106106 * If the named charset is unavailable
107- * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
107+ * @since 1.7
108108 */
109109 public QuotedPrintableCodec (Charset charset ) {
110110 this .charset = charset ;
@@ -282,6 +282,7 @@ public String encode(String str) throws EncoderException {
282282 * @return original string
283283 * @throws DecoderException
284284 * Thrown if quoted-printable decoding is unsuccessful
285+ * @since 1.7
285286 */
286287 public String decode (String str , Charset charset ) throws DecoderException {
287288 if (str == null ) {
@@ -411,6 +412,7 @@ public String getDefaultCharset() {
411412 * @param charset
412413 * the charset for str
413414 * @return quoted-printable string
415+ * @since 1.7
414416 */
415417 public String encode (String str , Charset charset ) {
416418 if (str == null ) {
You can’t perform that action at this time.
0 commit comments