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, stringPropertyNamespublic 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
FileNotFoundExceptionIOExceptionpublic 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
FileNotFoundExceptionIOExceptionpublic static ImmoToolSettings read(File propsFile) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic 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
FileNotFoundExceptionIOExceptionpublic void write(File propsFile) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionCopyright © 2015 OpenEstate. All rights reserved.