return (URLStreamHandler) m_builtIn.get(protocol);
}
}
if (factory != null)
{
URLStreamHandler result = factory.createURLStreamHandler(protocol);
if (result != null)
{
return addToCache(protocol, result);
}
}
// Check for built-in handlers for the mime type.
// Iterate over built-in packages.
URLStreamHandler handler = loadBuiltInStreamHandler(protocol, null);
if (handler == null)
{
handler = loadBuiltInStreamHandler(protocol, ClassLoader.getSystemClassLoader());
}
return addToCache(protocol, handler);