com.stimulsoft.base.settings
Class StiConfig
java.lang.Object
com.stimulsoft.base.settings.StiConfig
public class StiConfig
- extends Object
Конфигурирование приложения.
Copyright Stimulsoft
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiConfig
public StiConfig()
throws StiException
- Throws:
StiException
StiConfig
public StiConfig(Properties properties)
throws StiException
- Throws:
StiException
loadDefaultFromResource
protected void loadDefaultFromResource()
throws IOException
- Throws:
IOException
setProperties
protected void setProperties(Properties properties)
init
public static void init(StiConfig config)
throws StiException
- Инициализация приложения. Необходимо вызвать один раз до постороения интерфейса.
- Parameters:
stiConfig - конфигурация приложения
- Throws:
StiException
getConfig
public static StiConfig getConfig()
getMailConfig
public StiMailProperties getMailConfig()
setMailConfig
public void setMailConfig(StiMailProperties mailConf)
getProperty
public String getProperty(String key)
getProperties
public Properties getProperties()
Copyright © 2017 Stimulsoft. All Rights Reserved.