Package org.apache.batik.util
Interface ParsedURLProtocolHandler
-
- All Known Implementing Classes:
AbstractParsedURLProtocolHandler,ParsedURLDataProtocolHandler,ParsedURLDefaultProtocolHandler,ParsedURLJarProtocolHandler
public interface ParsedURLProtocolHandlerProvider interface for new url protocols, used by the ParsedURL class.- Version:
- $Id: ParsedURLProtocolHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetProtocolHandled()Returns the protocol to be handled by this class.ParsedURLDataparseURL(java.lang.String urlStr)Parse an absolute url string.ParsedURLDataparseURL(ParsedURL basepurl, java.lang.String urlStr)Parse a relative url string of this protocol.
-
-
-
Method Detail
-
getProtocolHandled
java.lang.String getProtocolHandled()
Returns the protocol to be handled by this class. The protocol must _always_ be the part of the URL before the first ':'.
-
parseURL
ParsedURLData parseURL(java.lang.String urlStr)
Parse an absolute url string.
-
parseURL
ParsedURLData parseURL(ParsedURL basepurl, java.lang.String urlStr)
Parse a relative url string of this protocol.
-
-