org.jboss.portal.widget.netvibes.provider
Class NetvibesJSONInfoBuilder

java.lang.Object
  extended by org.jboss.portal.widget.netvibes.provider.NetvibesJSONInfoBuilder

public class NetvibesJSONInfoBuilder
extends java.lang.Object

Version:
$Revision$
Author:
Emanuel Muckenhuber

Constructor Summary
NetvibesJSONInfoBuilder(java.net.URL url)
           
 
Method Summary
 NetvibesWidgetInfo create()
           
 java.net.URL getUrl()
           
protected  byte[] obtainWidget(java.net.URL url)
          needed for testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetvibesJSONInfoBuilder

public NetvibesJSONInfoBuilder(java.net.URL url)
Method Detail

create

public NetvibesWidgetInfo create()
                          throws WidgetException
Throws:
WidgetException

getUrl

public java.net.URL getUrl()

obtainWidget

protected byte[] obtainWidget(java.net.URL url)
                       throws java.lang.IllegalArgumentException,
                              java.net.MalformedURLException
needed for testing

Throws:
java.net.MalformedURLException
java.lang.IllegalArgumentException