com.aoindustries.website.framework
Class WebSiteFrameworkConfiguration

java.lang.Object
  extended by com.aoindustries.website.framework.WebSiteFrameworkConfiguration

public final class WebSiteFrameworkConfiguration
extends java.lang.Object

The configuration parameters for the web site are stored in a properties file. These properties are not reloaded if changed.

Author:
AO Industries, Inc.

Constructor Summary
WebSiteFrameworkConfiguration()
           
 
Method Summary
static java.lang.String[] getDynamicClassPrefixes()
           
static boolean getEnforceSecureMode()
           
static java.io.File getFileUploadDirectory()
           
static java.lang.String getHttpBase()
           
static java.lang.String getHttpsBase()
           
static int getMaxFileUploadSize()
           
static java.lang.String getServletDirectory()
           
static java.lang.String[] getStaticClassPrefixes()
           
static boolean useWebSiteCaching()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSiteFrameworkConfiguration

public WebSiteFrameworkConfiguration()
Method Detail

getServletDirectory

public static java.lang.String getServletDirectory()
                                            throws java.io.IOException
Throws:
java.io.IOException

useWebSiteCaching

public static boolean useWebSiteCaching()
                                 throws java.io.IOException
Throws:
java.io.IOException

getStaticClassPrefixes

public static java.lang.String[] getStaticClassPrefixes()
                                                 throws java.io.IOException
Throws:
java.io.IOException

getDynamicClassPrefixes

public static java.lang.String[] getDynamicClassPrefixes()
                                                  throws java.io.IOException
Throws:
java.io.IOException

getFileUploadDirectory

public static java.io.File getFileUploadDirectory()
                                           throws java.io.IOException
Throws:
java.io.IOException

getMaxFileUploadSize

public static int getMaxFileUploadSize()
                                throws java.io.IOException
Throws:
java.io.IOException

getHttpBase

public static java.lang.String getHttpBase()
                                    throws java.io.IOException
Throws:
java.io.IOException

getHttpsBase

public static java.lang.String getHttpsBase()
                                     throws java.io.IOException
Throws:
java.io.IOException

getEnforceSecureMode

public static boolean getEnforceSecureMode()
                                    throws java.io.IOException
Throws:
java.io.IOException