org.knopflerfish.framework.ReferenceURLStreamHandler Class Reference

List of all members.


Detailed Description

Reference URL handling, used for accepting file: references.

Accepts URLs on the form

  reference:file URL]
 
Where [file URL] is any valid file: URL.

openConnection simply returns the URLConnection created by removing the reference: prefix.

Definition at line 56 of file ReferenceURLStreamHandler.java.


Public Member Functions

URLConnection openConnection (URL url) throws IOException
 
Exceptions:
IOException if the specified URL is not a reference to a file: URL


Static Protected Member Functions

static String getActual (URL u)
 Get the actual URL string represented by the specified reference: URL.

Member Function Documentation

static String org.knopflerfish.framework.ReferenceURLStreamHandler.getActual ( URL  u  )  [static, protected]

Get the actual URL string represented by the specified reference: URL.

Exceptions:
IllegalArgumentException if the specified URL does not have a reference: protocol.

Definition at line 88 of file ReferenceURLStreamHandler.java.

Referenced by org.knopflerfish.framework.ReferenceURLStreamHandler.openConnection().


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