public class OutputConverter extends Object
This class is not threadsafe
Modifier and Type | Class | 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 | Description |
---|---|---|
static String |
WORK_AROUND_RESIN_I18N_BUG |
Resin versions 2.1.12 and previously have encoding problems for internationalisation.
|
Constructor | Description |
---|---|
OutputConverter() |
Modifier and Type | Method | Description |
---|---|---|
static String |
convert(String inputString) |
|
static Writer |
getWriter(Writer out) |
|
private static void |
resinConvert(String inputString,
Writer writer) |
public static final 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.
private static void resinConvert(String inputString, Writer writer) throws IOException
IOException