public class BrTagReplacer extends java.lang.Object implements Replacer
Replacer
is that the ChatPanel does not support
<br /> closing tags (XHTML syntax), thus we have to remove every
slash from each <br /> tags.Constructor and Description |
---|
BrTagReplacer() |
Modifier and Type | Method and Description |
---|---|
boolean |
expectsPlainText()
BrTagReplacer expects HTML content.
|
void |
replace(java.lang.StringBuilder target,
java.lang.String piece)
Replace operation.
|
public boolean expectsPlainText()
expectsPlainText
in interface Replacer
public void replace(java.lang.StringBuilder target, java.lang.String piece)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.