Package 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 java.lang.Object implements ParsedURLProtocolHandler
Very simple abstract base class for ParsedURLProtocolHandlers. Just handles the 'what protocol part'.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
protocol
-
Constructor Summary
Constructors Constructor Description AbstractParsedURLProtocolHandler(java.lang.String protocol)
Constrcut a ProtocolHandler forprotocol
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getProtocolHandled()
Returns the protocol to be handled by this class.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.batik.util.ParsedURLProtocolHandler
parseURL, parseURL
-
-
-
-
Method Detail
-
getProtocolHandled
public 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 ':'.- Specified by:
getProtocolHandled
in interfaceParsedURLProtocolHandler
-
-