Snapper 1.0 API

org.enhydra.snapperPreviewer
Class Previewer

java.lang.Object
  extended bycom.lutris.appserver.server.StandardApplication
      extended byorg.enhydra.snapperPreviewer.Previewer
All Implemented Interfaces:
com.lutris.appserver.server.Application

public class Previewer
extends com.lutris.appserver.server.StandardApplication

The application object. Application-wide data would go here.

Author:
Milin Radivoj

Nested Class Summary
 
Nested classes inherited from class com.lutris.appserver.server.StandardApplication
com.lutris.appserver.server.StandardApplication.ContextMBean
 
Field Summary
protected static java.lang.String documentGroupConfFile
           
protected static java.lang.String pathOfConvertedFiles
           
protected static int reReadConfigFilesEveryMinutes
           
protected static java.lang.String siteConfFile
           
protected static boolean toReadConvertedFile
           
protected static java.lang.String version
           
 
Fields inherited from class com.lutris.appserver.server.StandardApplication
appConfigMBean, appName, config, contextMBean, data, databaseManager, databaseManagerMBean, databaseMBean, defaultUrl, jivanFactory, logChannel, logger, loggerSys, postProcessingManager, preProcessingManager, presentationManager, presentationManagerMBean, sendCookieForNewSession, server, sessionManager, sessionManagerMBean, state, tableMBean, tableMBeans, xmlcFactory
 
Fields inherited from interface com.lutris.appserver.server.Application
DEAD, HALTED, INCOMPLETE, RUNNING, STOPPED
 
Constructor Summary
Previewer()
           
 
Method Summary
static java.util.Properties getConverterClassNames()
           
static int getFilesInContainerNumber()
           
static java.lang.String getIndexDir()
           
static java.lang.String getOutputFileFormat()
           
static int getPictureColorNumber()
           
static int getPicturePixel()
           
static boolean getPreviewFilesInContainer()
           
static int getReReadConfigFilesEveryMinutes()
           
static boolean getUseGrayFilter()
           
static java.lang.String getXslDirectory()
           
static boolean isRelitive()
           
static void logDebug(java.lang.String message)
           
static void logError(java.lang.String message)
           
static void logInfo(java.lang.String message)
           
static void logWarrning(java.lang.String message)
           
static java.lang.String pathOfConvertedFiles()
           
 boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
           
 void shutdown()
           
 void startup(com.lutris.util.Config appConfig)
           
 java.lang.String toHtml()
           
static boolean toReadConvertedFile()
           
 
Methods inherited from class com.lutris.appserver.server.StandardApplication
createDatabaseManager, createPostProcessingManager, createPreProcessingManager, createSession, createSessionManager, encodeUrl, encodeUrl, ensureSession, getConfig, getDatabaseManager, getHttpPresentationManager, getJivanFactory, getLogChannel, getName, getSessionManager, getState, getXMLCFactory, initDodsAsyncCaches, initDodsAsyncCaches, initializeNewSession, printCopyrightHeader, requestPostProcessor, restartup, servletRequestPreprocessor, setCookieForNewSession, setHttpPresentationManager, setJivanFactory, setLogChannel, setName, setXMLCFactory, shutdownWithoutMBeanUnRegistration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected static java.lang.String version

siteConfFile

protected static java.lang.String siteConfFile

documentGroupConfFile

protected static java.lang.String documentGroupConfFile

pathOfConvertedFiles

protected static java.lang.String pathOfConvertedFiles

toReadConvertedFile

protected static boolean toReadConvertedFile

reReadConfigFilesEveryMinutes

protected static int reReadConfigFilesEveryMinutes
Constructor Detail

Previewer

public Previewer()
Method Detail

startup

public void startup(com.lutris.util.Config appConfig)
             throws com.lutris.appserver.server.ApplicationException
Throws:
com.lutris.appserver.server.ApplicationException

requestPreprocessor

public boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
                            throws java.lang.Exception
Throws:
java.lang.Exception

shutdown

public void shutdown()

toHtml

public java.lang.String toHtml()

getXslDirectory

public static java.lang.String getXslDirectory()

getIndexDir

public static java.lang.String getIndexDir()

getOutputFileFormat

public static java.lang.String getOutputFileFormat()

getPictureColorNumber

public static int getPictureColorNumber()

getUseGrayFilter

public static boolean getUseGrayFilter()

getPreviewFilesInContainer

public static boolean getPreviewFilesInContainer()

getPicturePixel

public static int getPicturePixel()

getFilesInContainerNumber

public static int getFilesInContainerNumber()

logDebug

public static void logDebug(java.lang.String message)

logInfo

public static void logInfo(java.lang.String message)

logWarrning

public static void logWarrning(java.lang.String message)

logError

public static void logError(java.lang.String message)

isRelitive

public static boolean isRelitive()

getConverterClassNames

public static java.util.Properties getConverterClassNames()

pathOfConvertedFiles

public static java.lang.String pathOfConvertedFiles()

toReadConvertedFile

public static boolean toReadConvertedFile()

getReReadConfigFilesEveryMinutes

public static int getReReadConfigFilesEveryMinutes()

Snapper 1.0 API