org.apache.batik.util
public class ParsedURLDefaultProtocolHandler extends AbstractParsedURLProtocolHandler
Constructor Summary | |
---|---|
ParsedURLDefaultProtocolHandler()
Default constructor sets no protocol so this becomes
default handler. | |
protected | ParsedURLDefaultProtocolHandler(String protocol)
Subclass constructor allows subclasses to provide protocol,
to be handled. |
Method Summary | |
---|---|
static int | charToHex(int ch) |
protected ParsedURLData | constructParsedURLData()
Subclasses can override these method to construct alternate
subclasses of ParsedURLData. |
protected ParsedURLData | constructParsedURLData(URL url)
Subclasses can override these method to construct alternate
subclasses of ParsedURLData. |
ParsedURLData | parseURL(String urlStr)
Parses the string and returns the results of parsing in the
ParsedURLData object. |
ParsedURLData | parseURL(ParsedURL baseURL, String urlStr)
Parses the string as a sub URL of baseURL, and returns the
results of parsing in the ParsedURLData object. |
static String | unescapeStr(String str) |
Parameters: url the java.net.URL class we reference.
Parameters: urlStr the string to parse as a URL.
Parameters: baseURL the base url for parsing. urlStr the string to parse as a URL.