org.apache.batik.util
Class AbstractParsedURLProtocolHandler
java.lang.Object
org.apache.batik.util.AbstractParsedURLProtocolHandler
- All Implemented Interfaces:
- ParsedURLProtocolHandler
- Direct Known Subclasses:
- ParsedURLDataProtocolHandler, ParsedURLDefaultProtocolHandler
public abstract class AbstractParsedURLProtocolHandler
- extends Object
- implements ParsedURLProtocolHandler
Very simple abstract base class for ParsedURLProtocolHandlers.
Just handles the 'what protocol part'.
- Version:
- $Id: AbstractParsedURLProtocolHandler.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Thomas DeWeese
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protocol
protected String protocol
AbstractParsedURLProtocolHandler
public AbstractParsedURLProtocolHandler(String protocol)
- Constrcut a ProtocolHandler for
protocol
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 ':'.
- Specified by:
getProtocolHandled in interface ParsedURLProtocolHandler
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.