Package com.openindex.openestate.tool
Class ImmoToolSettings
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- com.openindex.openestate.tool.ImmoToolSettings
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
public class ImmoToolSettings extends Properties
ImmoToolSettings.- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTIES_FILE
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description ImmoToolSettings()
-
Method Summary
-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Field Detail
-
PROPERTIES_FILE
public static final String PROPERTIES_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAddons
public String[] getAddons()
-
getAutoUpdateStamp
public long getAutoUpdateStamp()
-
getFontSize
public int getFontSize()
-
getFtpProxyHost
public String getFtpProxyHost()
-
getFtpProxyPort
public Integer getFtpProxyPort()
-
getFtpProxyType
public Proxy.Type getFtpProxyType()
-
getHttpProxyHost
public String getHttpProxyHost()
-
getHttpProxyPort
public Integer getHttpProxyPort()
-
getLanguage
public String getLanguage()
-
getLanguageExtension
public LanguageExtension getLanguageExtension()
-
getLastProject
public File getLastProject()
-
getLastProjects
public File[] getLastProjects()
-
getPathToPdfApplication
public String getPathToPdfApplication()
-
getPathToWebApplication
public String getPathToWebApplication()
-
getTruststorePassword
public String getTruststorePassword()
-
hasAddon
@Deprecated public boolean hasAddon(String pluginId)
Deprecated.
-
isOpenLastProject
public boolean isOpenLastProject()
-
isPluginEnabled
public final boolean isPluginEnabled(String pluginId)
-
load
public void load(File propsFile) throws IOException
- Throws:
IOException
-
load
public static ImmoToolSettings load()
-
load
public static ImmoToolSettings load(File globalPropsFile, File localPropsFile)
-
putAddon
public void putAddon(String pluginId)
-
putAddons
public void putAddons(String[] pluginIds)
-
putLastProject
public void putLastProject(File projectDir)
-
read
public static ImmoToolSettings read() throws IOException
- Throws:
IOException
-
read
public static ImmoToolSettings read(File propsFile) throws IOException
- Throws:
IOException
-
removeAddon
public void removeAddon(String pluginId)
-
setAddons
public void setAddons(String[] plugins)
-
setAutoUpdateStamp
public void setAutoUpdateStamp(Date date)
-
setAutoUpdateStamp
public void setAutoUpdateStamp(long time)
-
setFontSize
public void setFontSize(Integer value)
-
setFtpProxy
public void setFtpProxy(String host, Integer port, Proxy.Type type)
-
setLanguage
public void setLanguage(String lang)
-
setOpenLastProject
public void setOpenLastProject(boolean value)
-
setPathToPdfApplication
public void setPathToPdfApplication(String path)
-
setPathToWebApplication
public void setPathToWebApplication(String path)
-
setTruststorePassword
public void setTruststorePassword(String password)
-
write
public void write() throws IOException
- Throws:
IOException
-
write
public void write(File propsFile) throws IOException
- Throws:
IOException
-
-