net.sf.zekr.common.runtime
Class ApplicationRuntime

java.lang.Object
  extended by net.sf.zekr.common.runtime.ApplicationRuntime

public class ApplicationRuntime
extends java.lang.Object

Author:
Mohsen Saboorian

Constructor Summary
ApplicationRuntime()
           
 
Method Summary
 void clearAll()
          Clear cache and config directories.
 void clearCache()
           
 void clearConfig()
           
 void configure()
           
 void configureDirectories()
          Makes the application home directory.
 void recreateHtmlCache()
          Recreates cache for Quran, translation.
 void recreateMixedCache()
           
 void recreatePlaylistCache()
           
 void recreateQuranCache()
           
 void recreateThemePropertiesDirectory()
           
 void recreateTransCache()
           
 void recreateViewCache()
          Will recreate all theme-related directories and files: HTML for quran, translation and search result text Common config files such as CSS file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationRuntime

public ApplicationRuntime()
Method Detail

configureDirectories

public void configureDirectories()
                          throws java.io.IOException
Makes the application home directory.

Throws:
java.io.IOException

recreateHtmlCache

public void recreateHtmlCache()
                       throws java.io.IOException
Recreates cache for Quran, translation.

Throws:
java.io.IOException

configure

public void configure()
               throws java.io.IOException
Throws:
java.io.IOException

recreateViewCache

public void recreateViewCache()
                       throws java.io.IOException
Will recreate all theme-related directories and files:

Throws:
java.io.IOException

recreatePlaylistCache

public void recreatePlaylistCache()
                           throws java.io.IOException
Throws:
java.io.IOException

recreateQuranCache

public void recreateQuranCache()
                        throws java.io.IOException
Throws:
java.io.IOException

recreateTransCache

public void recreateTransCache()
                        throws java.io.IOException
Throws:
java.io.IOException

recreateMixedCache

public void recreateMixedCache()
                        throws java.io.IOException
Throws:
java.io.IOException

clearCache

public void clearCache()

clearConfig

public void clearConfig()

clearAll

public void clearAll()
Clear cache and config directories.


recreateThemePropertiesDirectory

public void recreateThemePropertiesDirectory()