|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.gems.file.FilePortlet
FilePortlet
Field Summary | |
(package private) static int |
BLOCK_SIZE
|
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE |
Fields inherited from class javax.portlet.GenericPortlet |
|
Constructor Summary | |
FilePortlet()
|
Method Summary | |
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
static void |
drain(InputStream r,
OutputStream w)
|
protected void |
renderFile(javax.portlet.RenderResponse response,
String fileName)
|
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
doCustom, doEdit, doHelp, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, init, processAction, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int BLOCK_SIZE
Constructor Detail |
public FilePortlet()
Method Detail |
public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
protected void renderFile(javax.portlet.RenderResponse response, String fileName) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public static void drain(InputStream r, OutputStream w) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |