Package org.apache.tomcat.util.buf
Class C2BConverter
java.lang.Object
org.apache.tomcat.util.buf.C2BConverter
NIO based character encoder.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconvert(CharBuffer cc, ByteBuffer bc) Convert the given characters to bytes.voidConvert the given characters to bytes.booleanvoidrecycle()Reset the encoder state.
- 
Constructor Details- 
C2BConverter
 
- 
- 
Method Details- 
recyclepublic void recycle()Reset the encoder state.
- 
isUndeflowpublic boolean isUndeflow()
- 
convertConvert the given characters to bytes.- Parameters:
- cc- char input
- bc- byte output
- Throws:
- IOException- An encoding error occurred
 
- 
convertConvert the given characters to bytes.- Parameters:
- cc- char input
- bc- byte output
- Throws:
- IOException- An encoding error occurred
 
- 
getCharset
 
-