com.healthmarketscience.common.util
Class URLProtocolHandlerUtil

java.lang.Object
  extended by com.healthmarketscience.common.util.URLProtocolHandlerUtil

public class URLProtocolHandlerUtil
extends Object

Provides a way to register a custom URL protocol handler.

Author:
Tim McCune, James Ahlborn

Constructor Summary
URLProtocolHandlerUtil()
           
 
Method Summary
static void registerProtocolHandler(String protocol, URLStreamHandler handler)
          Register a protocol handler package with the JVM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLProtocolHandlerUtil

public URLProtocolHandlerUtil()
Method Detail

registerProtocolHandler

public static void registerProtocolHandler(String protocol,
                                           URLStreamHandler handler)
Register a protocol handler package with the JVM.

Parameters:
protocol - the protocol being handled by this handler
handler - the handler for this protocol


Copyright © 2006-2016 Health Market Science. All Rights Reserved.