Class TextEncoder
java.lang.Object
com.opensymphony.module.sitemesh.filter.TextEncoder
Converts text stored in byte[] to char[] using specified encoding.
- Author:
- Scott Farquhar, Hani Suleiman, Joe Walnes
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TextEncoder
public TextEncoder()
-
-
Method Details
-
encode
Encode.- Parameters:
data- the dataencoding- the encoding- Returns:
- the char[]
- Throws:
IOException- Signals that an I/O exception has occurred.
-