org.apache.batik.util

Class AbstractParsedURLProtocolHandler

public abstract class AbstractParsedURLProtocolHandler extends Object implements ParsedURLProtocolHandler

Very simple abstract base class for ParsedURLProtocolHandlers. Just handles the 'what protocol part'.
Field Summary
protected Stringprotocol
Constructor Summary
AbstractParsedURLProtocolHandler(String protocol)
Constrcut a ProtocolHandler for protocol
Method Summary
StringgetProtocolHandled()
Returns the protocol to be handled by this class.

Field Detail

protocol

protected String protocol

Constructor Detail

AbstractParsedURLProtocolHandler

public AbstractParsedURLProtocolHandler(String protocol)
Constrcut a ProtocolHandler for 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 ':'.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.