public class Decoder extends Object
| Constructor and Description |
|---|
Decoder()
Constructor in case you want to instantiate the class, but it is not necessary.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String text)
method that will extract all the HTML codes from an entire string and return the same string with the codes replaced with their translations.
|
static String |
get(String code)
public method that will take a single HTML code and return its translated value.
|
public Decoder()
public static String get(String code)
code - - A String of the code you need to translate (ie %20)public static String decode(String text)
text - - the String you need to convert.Copyright © 2022. All rights reserved.