net.fortytwo.linkeddata.dereferencers
Class HTTPURIDereferencer

java.lang.Object
  extended by net.fortytwo.linkeddata.dereferencers.HTTPURIDereferencer
All Implemented Interfaces:
Dereferencer

public class HTTPURIDereferencer
extends Object
implements Dereferencer

Author:
Joshua Shinavier (http://fortytwo.net)

Constructor Summary
HTTPURIDereferencer(LinkedDataCache linkedDataCache)
           
 
Method Summary
 void blackListExtension(String ext)
           
 org.restlet.representation.Representation dereference(String uri)
           
 String toString()
           
 void whitelistExtension(String ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTTPURIDereferencer

public HTTPURIDereferencer(LinkedDataCache linkedDataCache)
Method Detail

dereference

public org.restlet.representation.Representation dereference(String uri)
                                                      throws net.fortytwo.ripple.RippleException
Specified by:
dereference in interface Dereferencer
Parameters:
uri - a URI from which to fetch a document
Returns:
the retrieved HTTP representation
Throws:
net.fortytwo.ripple.RippleException - if dereferencing the URI fails for any reason

blackListExtension

public void blackListExtension(String ext)

whitelistExtension

public void whitelistExtension(String ext)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2013. All Rights Reserved.