org.apache.batik.util

Interface ParsedURLProtocolHandler

public interface ParsedURLProtocolHandler

Provider interface for new url protocols, used by the ParsedURL class.
Method Summary
StringgetProtocolHandled()
Returns the protocol to be handled by this class.
ParsedURLDataparseURL(String urlStr)
Parse an absolute url string.
ParsedURLDataparseURL(ParsedURL basepurl, String urlStr)
Parse a relative url string of this protocol.

Method Detail

getProtocolHandled

public 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

public ParsedURLData parseURL(String urlStr)
Parse an absolute url string.

parseURL

public ParsedURLData parseURL(ParsedURL basepurl, String urlStr)
Parse a relative url string of this protocol.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.