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
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public static final String PROPERTIES_FILE
public String[] getAddons()
public long getAutoUpdateStamp()
public String getFtpProxyHost()
public Integer getFtpProxyPort()
public Proxy.Type getFtpProxyType()
public String getHttpProxyHost()
public Integer getHttpProxyPort()
public String getLanguage()
public LanguageExtension getLanguageExtension()
public File getLastProject()
public File[] getLastProjects()
public String getPathToPdfApplication()
public String getPathToWebApplication()
public String getTruststorePassword()
@Deprecated public boolean hasAddon(String pluginId)
public boolean isOpenLastProject()
public final boolean isPluginEnabled(String pluginId)
public void load(File propsFile) throws IOException
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 IOException
IOException
public static ImmoToolSettings read(File propsFile) throws IOException
IOException
public void removeAddon(String pluginId)
public void setAddons(String[] plugins)
public void setAutoUpdateStamp(Date date)
public void setAutoUpdateStamp(long time)
public void setFtpProxy(String host, Integer port, Proxy.Type type)
public void setLanguage(String lang)
public void setOpenLastProject(boolean value)
public void setPathToPdfApplication(String path)
public void setPathToWebApplication(String path)
public void setTruststorePassword(String password)
public void write() throws IOException
IOException
public void write(File propsFile) throws IOException
IOException
Copyright © 2019 OpenEstate. All rights reserved.