Constructor and Description |
---|
URLReplacer(java.util.regex.Pattern urlPattern)
The URL Replacer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
expectsPlainText()
Plain text is expected.
|
void |
replace(java.lang.StringBuilder target,
java.lang.String piece)
Replace operation for replacing URL's with a hyperlinked version.
|
public URLReplacer(java.util.regex.Pattern urlPattern)
urlPattern
- the exact URL pattern to be appliedpublic 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.