org.sitemesh.webapp.contentfilter.io
Class TextEncoder
java.lang.Object
org.sitemesh.webapp.contentfilter.io.TextEncoder
public class TextEncoder
- extends Object
Converts text as bytes to chars using specified encoding.
- Author:
- Scott Farquhar, Hani Suleiman, Joe Walnes
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextEncoder
public TextEncoder()
encode
public static CharBuffer encode(ByteBuffer data,
String encoding)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.