humble-video-noarch/src/main/java/io/humble/video/customio/HumbleIO.java
public static String map(String url, IURLProtocolHandler handler,
      boolean unmapUrlOnOpen)
  {
    if (mFactory.mapIO(url, handler, unmapUrlOnOpen) != null)
      throw new RuntimeException("url is already mapped: " + url);

    return DEFAULT_PROTOCOL + ":" + URLProtocolManager.getResourceFromURL(url);
  }
public static String map(String url, IURLProtocolHandler handler,
      boolean unmapUrlOnOpen)
  {
    if (mFactory.mapIO(url, handler, unmapUrlOnOpen) != null)
      throw new RuntimeException("url is already mapped: " + url);

    return DEFAULT_PROTOCOL + ":" + URLProtocolManager.getResourceFromURL(url);
  }
public static String map ( String url , IURLProtocolHandler handler , boolean unmapUrlOnOpen ) { if ( mFactory . mapIO ( url , handler , unmapUrlOnOpen ) != null ) throw new RuntimeException ( "url is already mapped: " + url ) ; return DEFAULT_PROTOCOL + ":" + URLProtocolManager . getResourceFromURL ( url ) ; }
Maps a {@link IURLProtocolHandler} to a url that Humble can open.

@param url the unique string to use for the mapping.
@param handler the handler
@param unmapUrlOnOpen if true, when Humble opens the
{@link IURLProtocolHandler}, {@link #unmap(String)} will be called
automatically.
@return a string that is suitable for passing to {@link Container}'s open
methods.
Maps a { @link IURLProtocolHandler } to a url that Humble can open .