org.rdfcontext.urlresolvers
Class DefaultURLResolver

java.lang.Object
  extended byorg.rdfcontext.urlresolvers.DefaultURLResolver
All Implemented Interfaces:
IURLResolver

public class DefaultURLResolver
extends java.lang.Object
implements IURLResolver

Resolves a URI to an InputStream. Default implementation of URLResolver. It uses URL.openStream().


Constructor Summary
DefaultURLResolver()
           
 
Method Summary
 java.io.InputStream url2stream(java.net.URL url)
          Gets an input stream to retrive the content identified by the given URL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultURLResolver

public DefaultURLResolver()
Method Detail

url2stream

public java.io.InputStream url2stream(java.net.URL url)
                               throws java.io.IOException
Gets an input stream to retrive the content identified by the given URL

Specified by:
url2stream in interface IURLResolver
Throws:
java.io.IOException