org.blojsom.plugin.showmore
Class ShowMeMoreUtilities

java.lang.Object
  extended byorg.blojsom.plugin.showmore.ShowMeMoreUtilities

public class ShowMeMoreUtilities
extends java.lang.Object

Show Me More Utilities

Since:
blojsom 2.20
Version:
$Id: ShowMeMoreUtilities.java,v 1.3 2006/01/04 16:53:12 czarneckid Exp $
Author:
David Czarnecki

Method Summary
static ShowMeMoreConfiguration loadConfiguration(java.lang.String blogID, java.lang.String showMeMoreConfigurationFile, BlojsomConfiguration blojsomConfiguration, javax.servlet.ServletConfig servletConfig)
          Load the Show Me More configuration file
static void saveConfiguration(java.lang.String blogID, java.lang.String showMeMoreConfigurationFile, BlojsomConfiguration blojsomConfiguration, ShowMeMoreConfiguration showMeMoreConfiguration)
          Save the Show Me More configuration to a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadConfiguration

public static ShowMeMoreConfiguration loadConfiguration(java.lang.String blogID,
                                                        java.lang.String showMeMoreConfigurationFile,
                                                        BlojsomConfiguration blojsomConfiguration,
                                                        javax.servlet.ServletConfig servletConfig)
                                                 throws java.io.IOException
Load the Show Me More configuration file

Parameters:
blogID - Blog ID
showMeMoreConfigurationFile - Configuration filename
blojsomConfiguration - BlojsomConfiguration
servletConfig - ServletConfig
Returns:
ShowMeMoreConfiguration object
Throws:
java.io.IOException - If error in reading configuration file

saveConfiguration

public static void saveConfiguration(java.lang.String blogID,
                                     java.lang.String showMeMoreConfigurationFile,
                                     BlojsomConfiguration blojsomConfiguration,
                                     ShowMeMoreConfiguration showMeMoreConfiguration)
                              throws java.io.IOException
Save the Show Me More configuration to a file

Parameters:
blogID - Blog ID
showMeMoreConfigurationFile - Configuration filename
blojsomConfiguration - BlojsomConfiguration
showMeMoreConfiguration - ShowMeMoreConfiguration
Throws:
java.io.IOException