org.chorem.bow
Class BowConfig

java.lang.Object
  extended by org.nuiton.util.ApplicationConfig
      extended by org.chorem.bow.BowConfig

public class BowConfig
extends org.nuiton.util.ApplicationConfig

Version:
$Revision: 192 $ Last update: $Date: 2011-02-14 15:53:06 +0100 (lun., 14 févr. 2011) $ by : $Author: tchemit $
Author:
poussin

Nested Class Summary
static class BowConfig.Option
          Vradi option definition.
 
Nested classes/interfaces inherited from class org.nuiton.util.ApplicationConfig
org.nuiton.util.ApplicationConfig.Action, org.nuiton.util.ApplicationConfig.ActionDef, org.nuiton.util.ApplicationConfig.CacheItem<T>, org.nuiton.util.ApplicationConfig.OptionDef, org.nuiton.util.ApplicationConfig.OptionList
 
Field Summary
protected static BowConfig instance
          Singleton instance.
 
Fields inherited from class org.nuiton.util.ApplicationConfig
actions, ADJUSTING_PROPERTY, aliases, APP_NAME, cacheAction, cacheOption, classpath, CONFIG_FILE_NAME, CONFIG_PATH, curfile, defaults, env, etcfile, homefile, inParseOptionPhase, jvm, line, LIST_SEPARATOR, options, osName, pcs, unparsed, useOnlyAliases, userPath
 
Constructor Summary
BowConfig()
           
 
Method Summary
 String getAddressFrom()
          Get bow address from as string.
 String[] getAdmins()
           
 String getAliasUrl()
          Get alias url as string.
 String getBowUrl()
          Get bow url as string.
static BowConfig getInstance()
           
 String getSearchEngine()
          Get default search engine
 String getServletAlias()
          Get alias servlet as string.
 String getServletAliasUrl()
          Get alias servlet url as string.
 String getServletBow()
          Get bow servlet as string.
 String getSmtpServer()
          Get bow smtp server as string.
 String getVersion()
          Get version as string.
 
Methods inherited from class org.nuiton.util.ApplicationConfig
addAction, addActionAlias, addAlias, addPropertyChangeListener, addPropertyChangeListener, convertOption, createAction, doAction, firePropertyChange, getConfigFileName, getConfigFileNameOption, getConfigPath, getFlatOptions, getFlatOptions, getMethods, getOption, getOption, getOption, getOptionAsBoolean, getOptionAsClass, getOptionAsDate, getOptionAsDouble, getOptionAsFile, getOptionAsInt, getOptionAsList, getOptionAsLocale, getOptionAsTime, getOptionAsTimestamp, getOptionAsURL, getOptionAsVersion, getOptions, getOptionStartsWith, getParams, getPrintableConfig, getPropertyChangeListeners, getPropertyChangeListeners, getSystemConfigFile, getSystemConfigurationPath, getUnparsed, getUserConfigDirectory, getUserConfigFile, getUserHome, getUsername, hasListeners, installSaveUserAction, isAdjusting, isUseOnlyAliases, loadActions, loadDefaultOptions, migrateUserConfigurationFile, parse, printConfig, printConfig, removePropertyChangeListener, removePropertyChangeListener, replaceRecursiveOptions, save, saveForSystem, saveForUser, setAdjusting, setAppName, setConfigFileName, setDefaultOption, setOption, setOptions, setUseOnlyAliases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static BowConfig instance
Singleton instance.

Constructor Detail

BowConfig

public BowConfig()
Method Detail

getInstance

public static BowConfig getInstance()

getVersion

public String getVersion()
Get version as string.

Returns:
version

getBowUrl

public String getBowUrl()
Get bow url as string.

Returns:
url

getAliasUrl

public String getAliasUrl()
Get alias url as string.

Returns:
url

getServletBow

public String getServletBow()
Get bow servlet as string.

Returns:
servlet name

getServletAlias

public String getServletAlias()
Get alias servlet as string.

Returns:
servlet name

getServletAliasUrl

public String getServletAliasUrl()
Get alias servlet url as string.

Returns:
servlet name

getSmtpServer

public String getSmtpServer()
Get bow smtp server as string.

Returns:
smtpServer

getSearchEngine

public String getSearchEngine()
Get default search engine

Returns:
search engine url

getAddressFrom

public String getAddressFrom()
Get bow address from as string.

Returns:
addressFrom

getAdmins

public String[] getAdmins()


Copyright © 2010-2011 CodeLutin. All Rights Reserved.