public class QuoteEncoder extends Object implements TextDecoder, TextEncoder
| Modifier and Type | Field and Description |
|---|---|
static char |
ESCAPE_CHARACTER |
| Constructor and Description |
|---|
QuoteEncoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
decode(String encodedText)
Return the decoded version of an encoded string
|
String |
encode(String text)
Returns the encoded version of a string.
|
public static final char ESCAPE_CHARACTER
public QuoteEncoder()
public String decode(String encodedText)
TextDecoderdecode in interface TextDecoderencodedText - the encoded textTextEncoder.encode(String)public String encode(String text)
TextEncoderencode in interface TextEncodertext - the text with characters that are to be encoded.TextDecoder.decode(String)Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.