public class OutputConverter
extends java.lang.Object
This class is not threadsafe
Modifier and Type | Class and Description |
---|---|
(package private) static class |
OutputConverter.ResinWriter
To get internationalised characters to work on Resin, some conversions need to take place.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WORK_AROUND_RESIN_I18N_BUG
Resin versions 2.1.12 and previously have encoding problems for internationalisation.
|
Constructor and Description |
---|
OutputConverter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
convert(java.lang.String inputString) |
static java.io.Writer |
getWriter(java.io.Writer out) |
private static void |
resinConvert(java.lang.String inputString,
java.io.Writer writer) |
public static final java.lang.String WORK_AROUND_RESIN_I18N_BUG
This is fixed in Resin 2.1.13. Once 2.1.13 is used more widely, this parameter (and class) can be removed.
public static java.io.Writer getWriter(java.io.Writer out)
public static java.lang.String convert(java.lang.String inputString) throws java.io.IOException
java.io.IOException
private static void resinConvert(java.lang.String inputString, java.io.Writer writer) throws java.io.IOException
java.io.IOException