Skip to content

Commit bc33e59

Browse files
committed
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1814524 13f79535-47bb-0310-9956-ffa450edef68
1 parent e08c12f commit bc33e59

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

src/main/java/org/apache/commons/codec/net/QCodec.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
*/
5252
public class QCodec extends RFC1522Codec implements StringEncoder, StringDecoder {
5353
/**
54-
* The default charset used for string decoding and encoding.
54+
* The default Charset used for string decoding and encoding.
5555
*/
5656
private final Charset charset;
5757

@@ -117,10 +117,10 @@ public QCodec() {
117117
}
118118

119119
/**
120-
* Constructor which allows for the selection of a default charset.
120+
* Constructor which allows for the selection of a default Charset.
121121
*
122122
* @param charset
123-
* the default string charset to use.
123+
* the default string Charset to use.
124124
*
125125
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
126126
* @since 1.7
@@ -131,13 +131,13 @@ public QCodec(final Charset charset) {
131131
}
132132

133133
/**
134-
* Constructor which allows for the selection of a default charset.
134+
* Constructor which allows for the selection of a default Charset.
135135
*
136136
* @param charsetName
137-
* the charset to use.
137+
* the Charset to use.
138138
* @throws java.nio.charset.UnsupportedCharsetException
139-
* If the named charset is unavailable
140-
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
139+
* If the named Charset is unavailable
140+
* @since 1.7 throws UnsupportedCharsetException if the named Charset is unavailable
141141
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
142142
*/
143143
public QCodec(final String charsetName) {
@@ -193,12 +193,12 @@ protected byte[] doDecoding(final byte[] bytes) throws DecoderException {
193193
}
194194

195195
/**
196-
* Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
196+
* Encodes a string into its quoted-printable form using the specified Charset. Unsafe characters are escaped.
197197
*
198198
* @param sourceStr
199199
* string to convert to quoted-printable form
200200
* @param sourceCharset
201-
* the charset for sourceStr
201+
* the Charset for sourceStr
202202
* @return quoted-printable string
203203
* @throws EncoderException
204204
* thrown if a failure condition is encountered during the encoding process.
@@ -212,12 +212,12 @@ public String encode(final String sourceStr, final Charset sourceCharset) throws
212212
}
213213

214214
/**
215-
* Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
215+
* Encodes a string into its quoted-printable form using the specified Charset. Unsafe characters are escaped.
216216
*
217217
* @param sourceStr
218218
* string to convert to quoted-printable form
219219
* @param sourceCharset
220-
* the charset for sourceStr
220+
* the Charset for sourceStr
221221
* @return quoted-printable string
222222
* @throws EncoderException
223223
* thrown if a failure condition is encountered during the encoding process.
@@ -234,7 +234,7 @@ public String encode(final String sourceStr, final String sourceCharset) throws
234234
}
235235

236236
/**
237-
* Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped.
237+
* Encodes a string into its quoted-printable form using the default Charset. Unsafe characters are escaped.
238238
*
239239
* @param sourceStr
240240
* string to convert to quoted-printable form
@@ -273,7 +273,7 @@ public String decode(final String str) throws DecoderException {
273273
}
274274

275275
/**
276-
* Encodes an object into its quoted-printable form using the default charset. Unsafe characters are escaped.
276+
* Encodes an object into its quoted-printable form using the default Charset. Unsafe characters are escaped.
277277
*
278278
* @param obj
279279
* object to convert to quoted-printable form
@@ -319,19 +319,19 @@ public Object decode(final Object obj) throws DecoderException {
319319
}
320320

321321
/**
322-
* Gets the default charset name used for string decoding and encoding.
322+
* Gets the default Charset name used for string decoding and encoding.
323323
*
324-
* @return the default charset name
324+
* @return the default Charset name
325325
* @since 1.7
326326
*/
327327
public Charset getCharset() {
328328
return this.charset;
329329
}
330330

331331
/**
332-
* Gets the default charset name used for string decoding and encoding.
332+
* Gets the default Charset name used for string decoding and encoding.
333333
*
334-
* @return the default charset name
334+
* @return the default Charset name
335335
*/
336336
public String getDefaultCharset() {
337337
return this.charset.name();

0 commit comments

Comments
 (0)