net.sf.doolin.gui.service.icon
Class IconURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
net.sf.doolin.gui.service.icon.IconURLStreamHandler
public class IconURLStreamHandler
- extends URLStreamHandler
URL stream handler that handles the "icon:" protocol by calling a
IconService instance.
The URL has the form:
icon:key?param=value¶m=value&...
where key is used as the icon key and parameters can be:
- Author:
- Damien Coraboeuf
| Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROTOCOL_ICON
public static final String PROTOCOL_ICON
- Action protocol
- See Also:
- Constant Field Values
IconURLStreamHandler
public IconURLStreamHandler(IconService iconService)
- Constructor
- Parameters:
iconService - Icon service to call.
openConnection
protected URLConnection openConnection(URL u)
throws IOException
- Specified by:
openConnection in class URLStreamHandler
- Throws:
IOException- See Also:
URLStreamHandler.openConnection(java.net.URL)
Copyright © 2011. All Rights Reserved.