Author: markt
Date: Tue May 19 14:46:24 2015
New Revision: 1680307
URL: http://svn.apache.org/r1680307
Log:
Javadoc
Modified:
tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java?rev=1680307&r1=1680306&r2=1680307&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/B2CConverter.java Tue May 19
14:46:24 2015
@@ -67,6 +67,13 @@ public class B2CConverter {
/**
* Only to be used when it is known that the encoding name is in lower
case.
+ * @param lowerCaseEnc The name of the encoding for the required charset in
+ * lower case
+ *
+ * @return The Charset corresponding to the requested encoding
+ *
+ * @throws UnsupportedEncodingException If the requested Charset is not
+ * available
*/
public static Charset getCharsetLower(String lowerCaseEnc)
throws UnsupportedEncodingException {
@@ -131,6 +138,8 @@ public class B2CConverter {
* @param bc byte input
* @param cc char output
* @param endOfInput Is this all of the available data
+ *
+ * @throws IOException If the conversion can not be completed
*/
public void convert(ByteChunk bc, CharChunk cc, boolean endOfInput)
throws IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]