Class OutputConverter

java.lang.Object
com.opensymphony.module.sitemesh.util.OutputConverter

public class OutputConverter extends Object
A converter from one character type to another

This class is not threadsafe.

  • Field Details

    • WORK_AROUND_RESIN_I18N_BUG

      public static final String WORK_AROUND_RESIN_I18N_BUG
      Resin versions 2.1.12 and previously have encoding problems for internationalization.

      This is fixed in Resin 2.1.13. Once 2.1.13 is used more widely, this parameter (and class) can be removed.

      See Also:
  • Constructor Details

    • OutputConverter

      public OutputConverter()
  • Method Details

    • getWriter

      public static Writer getWriter(Writer out)
      Gets the writer.
      Parameters:
      out - the out
      Returns:
      the writer
    • convert

      public static String convert(String inputString)
      Convert.
      Parameters:
      inputString - the input string
      Returns:
      the string