public class TextDecoder extends Object
Constructor and Description |
---|
TextDecoder(String str) |
Modifier and Type | Method and Description |
---|---|
static String |
decode(char[] data,
int start,
int length) |
void |
deleteValue(String name) |
String |
encode()
Re-encode the decoded text into a String.
|
int |
getIndexOf(String name)
Get the index of the named value.
|
String |
getName(int index)
The name of the value at the specified index.
|
String |
getValue(int index)
The value at the specified index.
|
String |
getValue(String name)
Get the value of the name.
|
static String |
getValueOf(SubString sub) |
static boolean |
isNamed(SubString sub,
String name) |
void |
setValue(String name,
String value) |
int |
size() |
String |
toString()
Return a String representation of this object.
|
public TextDecoder(String str)
public static String decode(char[] data, int start, int length)
public int size()
public int getIndexOf(String name)
name
- The name of the value.public String getValue(String name)
name
- The name of the value.public String getName(int index)
index
- public String getValue(int index)
index
- public String toString()
Object
public void deleteValue(String name)
public String encode()