Class StringConverter

  • All Implemented Interfaces:
    Converter<java.lang.String>, OutputFormatWriter<java.lang.String>, Logging, LogHandler

    public abstract class StringConverter
    extends AbstractConverter<java.lang.String>
    The base class for simple converters that convert to strings. If the result should be written to a stream or file it is encoded with the UTF-8 encoding.
    • Constructor Detail

      • StringConverter

        public StringConverter​(java.lang.String backend,
                               java.util.Map<java.lang.String,​java.lang.Object> opts)
    • Method Detail

      • write

        public void write​(java.lang.String output,
                          java.io.OutputStream out)
                   throws java.io.IOException
        Throws:
        java.io.IOException