public void init(String encoding, List<String> modes) {

        if (encoding == null) {
            m_encoding = CmsEncoder.ENCODING_UTF_8;
        } else {
            m_encoding = encoding;
        }
        if (modes == null) {
            m_modes = new ArrayList<String>();
        } else {
            m_modes = modes;
        }
    }
public void init ( String encoding , List < String > modes ) { if ( encoding == null ) { m_encoding = CmsEncoder . ENCODING_UTF_8 ; } else { m_encoding = encoding ; } if ( modes == null ) { m_modes = new ArrayList < String > ( ) ; } else { m_modes = modes ; } }
@see org.opencms.util.I_CmsHtmlConverter#init(java.lang.String, java.util.List)