Details
Description
The FileServerPortlet sets the content inside it's init() method. Since it is
good practice to for subclasses to always call super.init(), a subclass of
FileServerPortlet will get its content set before it can do any processing.
In addition, the getURL(String) method is defined as private with makes it
harder to overwrite.
Attached to this enhancement report is a diff file which does the following to
make this class more extensible:
1) Move the setContent call to a separate protected method, initContent.
2) Make the getURL method protected.
3) Added some more javadoc comments.