org.knopflerfish.framework.ServiceURLStreamHandlerFactory Class Reference

List of all members.


Detailed Description

Factory creating URLStreamHandlers from both built-in handlers and OSGi-registered URLStreamHandlerServices.

Definition at line 47 of file ServiceURLStreamHandlerFactory.java.


Package Functions

URLStreamHandler getJVMClassPathHandler (String protocol)
 Check if there exists a JVM classpath handler for a protocol.
void setURLStreamHandler (String protocol, URLStreamHandler handler)
 Sets the handler for a named protocol.

Member Function Documentation

void org.knopflerfish.framework.ServiceURLStreamHandlerFactory.setURLStreamHandler ( String  protocol,
URLStreamHandler  handler 
) [package]

Sets the handler for a named protocol.

Any old handler for the specified protocol will be lost.

Parameters:
protocol Protocol name.
handler Handler for the specified protocl name.

Definition at line 206 of file ServiceURLStreamHandlerFactory.java.

Referenced by org.knopflerfish.framework.Framework.Framework().


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:19 2010 for OpenMobileIS by  doxygen 1.5.4