| Package | Description |
|---|---|
| javatools.parsers |
| Modifier and Type | Field and Description |
|---|---|
static Char17.Legal |
Char17.alphaNumericAndSpace
True for ASCII alphanumeric and space
|
static Char17.Legal |
Char17.html
Any characters that can appear in HTML attributes
|
static Char17.Legal |
Char17.uriPathComponent
Legal path components in the sense of URIs
|
static Char17.Legal |
Char17.xmlPathComponent
TRUE for XML path components
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
Char17.encodeAmpersand(java.lang.String string,
Char17.Legal legal)
Encodes non-legal characters to Ampersand codes
|
static java.lang.String |
Char17.encodeBackslash(java.lang.CharSequence s,
Char17.Legal legal)
Encodes with backslash all illegal characters
|
static java.lang.String |
Char17.encodeHex(java.lang.String s,
Char17.Legal legal)
Replaces illegal characters in the string by hex codes (cannot be undone)
|
static java.lang.String |
Char17.encodePercentage(java.lang.String string,
Char17.Legal legal)
Encodes a string into Percentage codes.
|