| 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.htmlUtf8
TRUE for HTML UTF8 characters
|
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 String |
Char17.encodeAmpersand(String string,
Char17.Legal legal)
Encodes non-legal characters to Ampersand codes
|
static String |
Char17.encodeBackslash(CharSequence s,
Char17.Legal legal)
Encodes with backslash all illegal characters
|
static String |
Char17.encodeHex(String s,
Char17.Legal legal)
Replaces illegal characters in the string by hex codes (cannot be undone)
|
static String |
Char17.encodePercentage(String string,
Char17.Legal legal)
Encodes a string into Percentage codes.
|
Copyright © 2018. All rights reserved.