public class ImmoToolSettings extends Properties
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTIES_FILE |
defaults
Constructor and Description |
---|
ImmoToolSettings() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
public static final String PROPERTIES_FILE
public String[] getAddons()
public long getAutoUpdateStamp()
public String getHttpProxyHost()
public Integer getHttpProxyPort()
public String getLanguage()
public LanguageExtension getLanguageExtension()
public File getLastProject()
public File[] getLastProjects()
public String getLicenseKey()
public long getLicenseRemindStamp()
public String getPathToPdfApplication()
public String getPathToWebApplication()
@Deprecated public boolean hasAddon(String pluginId)
public boolean isOpenLastProject()
public final boolean isPluginEnabled(String pluginId)
public void load(File propsFile) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public static ImmoToolSettings load()
public static ImmoToolSettings load(File globalPropsFile, File localPropsFile)
public void putAddon(String pluginId)
public void putAddons(String[] pluginIds)
public void putLastProject(File projectDir)
public static ImmoToolSettings read() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public static ImmoToolSettings read(File propsFile) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void removeAddon(String pluginId)
public void setAddons(String[] plugins)
public void setAutoUpdateStamp(Date date)
public void setAutoUpdateStamp(long time)
public void setLanguage(String lang)
public void setLicenseKey(String key)
public void setLicenseRemindStamp(Date date)
public void setLicenseRemindStamp(long time)
public void setOpenLastProject(boolean value)
public void setPathToPdfApplication(String path)
public void setPathToWebApplication(String path)
public void write() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void write(File propsFile) throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2015 OpenEstate. All rights reserved.