org.apache.jetspeed.portal.portlets
Class FileServerPortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.AbstractInstancePortlet
          extended byorg.apache.jetspeed.portal.portlets.FileWatchPortlet
              extended byorg.apache.jetspeed.portal.portlets.FileServerPortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable

public class FileServerPortlet
extends FileWatchPortlet

Serve a static URL (typically a HTML fragment)

Version:
$Id: FileServerPortlet.java,v 1.28 2004/09/01 14:28:13 jford Exp $
Author:
Kevin A. Burton, Santiago Gala
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
content
 
Fields inherited from interface org.apache.jetspeed.portal.Portlet
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL
 
Constructor Summary
FileServerPortlet()
           
 
Method Summary
protected  java.lang.String getURL(java.lang.String url)
           
 void init()
          By default don't provide any initialization
protected  void initContent(PortletConfig config)
           
 
Methods inherited from class org.apache.jetspeed.portal.portlets.FileWatchPortlet
getExpire
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractInstancePortlet
getHandle
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, isCacheable, isClosed, isMinimized, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileServerPortlet

public FileServerPortlet()
Method Detail

init

public void init()
          throws PortletException
Description copied from class: AbstractPortlet
By default don't provide any initialization

Specified by:
init in interface Portlet
Overrides:
init in class AbstractPortlet
Throws:
PortletException

initContent

protected void initContent(PortletConfig config)
                    throws PortletException
Throws:
PortletException

getURL

protected java.lang.String getURL(java.lang.String url)
                           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.