public abstract class UnicodeEncoder extends Object
| Constructor and Description | 
|---|
| UnicodeEncoder() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | encode(String string)Encodes the given string, so that it can be used within a html page. | 
| static void | encode(Writer writer,
      char[] cbuf,
      int off,
      int len) | 
| static void | encode(Writer writer,
      String string) | 
| static void | encode(Writer writer,
      String cbuf,
      int off,
      int len) | 
public static String encode(String string)
string - the string to convertpublic static void encode(Writer writer, String string) throws IOException
IOExceptionpublic static void encode(Writer writer, char[] cbuf, int off, int len) throws IOException
IOExceptionpublic static void encode(Writer writer, String cbuf, int off, int len) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.