| java.lang.Object org.apache.batik.util.AbstractParsedURLProtocolHandler org.apache.batik.util.ParsedURLDefaultProtocolHandler
All known Subclasses: org.apache.batik.util.ParsedURLJarProtocolHandler,
ParsedURLDefaultProtocolHandler | public class ParsedURLDefaultProtocolHandler extends AbstractParsedURLProtocolHandler (Code) | | The default protocol handler this handles the most common
protocols, such as 'file' 'http' 'ftp'.
The parsing should be general enought to support most
'normal' URL formats, so in many cases
author: Thomas DeWeese version: $Id$ |
ParsedURLDefaultProtocolHandler | public ParsedURLDefaultProtocolHandler()(Code) | | Default constructor sets no protocol so this becomes
default handler.
|
ParsedURLDefaultProtocolHandler | protected ParsedURLDefaultProtocolHandler(String protocol)(Code) | | Subclass constructor allows subclasses to provide protocol,
to be handled.
|
charToHex | public static int charToHex(int ch)(Code) | | |
constructParsedURLData | protected ParsedURLData constructParsedURLData()(Code) | | Subclasses can override these method to construct alternate
subclasses of ParsedURLData.
|
constructParsedURLData | protected ParsedURLData constructParsedURLData(URL url)(Code) | | Subclasses can override these method to construct alternate
subclasses of ParsedURLData.
Parameters: the - java.net.URL class we reference. |
parseURL | public ParsedURLData parseURL(String urlStr)(Code) | | Parses the string and returns the results of parsing in the
ParsedURLData object.
Parameters: urlStr - the string to parse as a URL. |
parseURL | public ParsedURLData parseURL(ParsedURL baseURL, String urlStr)(Code) | | Parses the string as a sub URL of baseURL, and returns the
results of parsing in the ParsedURLData object.
Parameters: baseURL - the base url for parsing. Parameters: urlStr - the string to parse as a URL. |
Fields inherited from org.apache.batik.util.AbstractParsedURLProtocolHandler | protected String protocol(Code)(Java Doc)
|
Methods inherited from org.apache.batik.util.AbstractParsedURLProtocolHandler | public String getProtocolHandled()(Code)(Java Doc)
|
|
|