public class IniFileLoader
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
static java.lang.String |
LOGFILE
Public in order to configure LogAppenderProxy, but then the value
might as well be configured in the log4j.properties file
|
コンストラクタと説明 |
---|
IniFileLoader(java.io.File userConfigFile)
Load given file
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
flushPreferences()
Flush preferences to disk
|
java.lang.String |
getAppTitle() |
boolean |
getCustomImageNaming() |
int |
getDebugLevel()
Returns the level of debugging which should be set on
ImportConfig
Any value lower than null will not call configureDebug. |
boolean |
getForceFileArchiveOn() |
java.lang.String |
getForumUrl() |
java.lang.String |
getHomeUrl() |
java.lang.String |
getLogFile() |
int |
getNumOfDirectories() |
java.lang.String |
getServerPort() |
boolean |
getStaticDisableHistory() |
java.awt.Rectangle |
getUIBounds() |
boolean |
getUseQuaqua() |
java.lang.Boolean |
getUserDisableHistory() |
boolean |
getUserFullPath() |
java.lang.String |
getUserSettingsDirectory() |
java.lang.String |
getVersionNote() |
java.lang.String |
getVersionNumber() |
java.lang.Boolean |
isDebugConsole() |
java.lang.Boolean |
isDebugUI() |
protected void |
mapFlexServer(java.lang.String key,
java.lang.String mapValue)
Append keep to server map
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
parseFlexMaps(java.util.prefs.Preferences maps)
Parse Flex reader server maps
|
void |
setCustomImageNaming(boolean b) |
void |
setDebugLevel(int level)
Set debug level for application
|
void |
setNumOfDirectories(int i) |
void |
setUIBounds(java.awt.Rectangle bounds)
Set ui bounds for application
|
void |
setUseQuaqua(boolean b) |
void |
setUserDisableHistory(boolean b)
Set if history should be disabled.
|
void |
setUserFullPath(boolean b) |
void |
updateFlexReaderServerMaps()
Updates the Flex reader server maps from the configuration file.
|
public static final java.lang.String LOGFILE
public IniFileLoader(java.io.File userConfigFile)
userConfigFile
- the file to loadpublic void flushPreferences()
public int getDebugLevel()
ImportConfig
Any value lower than null will not call configureDebug.public boolean getUseQuaqua()
public java.lang.String getLogFile()
public java.lang.String getHomeUrl()
public java.lang.String getForumUrl()
public java.lang.String getAppTitle()
public boolean getForceFileArchiveOn()
public boolean getStaticDisableHistory()
public void setUserDisableHistory(boolean b)
b
- if history should be disabledpublic java.lang.Boolean getUserDisableHistory()
public void setDebugLevel(int level)
level
- a debug levelpublic void setUseQuaqua(boolean b)
b
- - set to use quaqua yes/nopublic java.lang.String getVersionNote()
public java.lang.String getVersionNumber()
public java.lang.Boolean isDebugConsole()
public java.lang.String getServerPort()
public void updateFlexReaderServerMaps()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> parseFlexMaps(java.util.prefs.Preferences maps)
maps
- the Flex reader server mapsprotected void mapFlexServer(java.lang.String key, java.lang.String mapValue)
key
- mapValue
- public java.lang.Boolean isDebugUI()
public java.awt.Rectangle getUIBounds()
public void setUIBounds(java.awt.Rectangle bounds)
bounds
- the boundspublic boolean getUserFullPath()
public void setUserFullPath(boolean b)
public boolean getCustomImageNaming()
public void setCustomImageNaming(boolean b)
public int getNumOfDirectories()
public void setNumOfDirectories(int i)
public java.lang.String getUserSettingsDirectory()