|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfsam.guiclient.configuration.services.xml.XmlConfigurationService
public class XmlConfigurationService
Configuration service that reads the configuration from an xml file
Field Summary | |
---|---|
static java.lang.String |
CONFIGURATION_FILE_NAME
|
static java.lang.String |
DEFAULT_CONFIG_DIRECTORY
|
static int |
DEFAULT_POOL_SIZE
|
static java.lang.String |
OLD_CONFIGURATION_FILE_NAME
|
Constructor Summary | |
---|---|
XmlConfigurationService()
|
Method Summary | |
---|---|
java.lang.String |
getConfigurationInformations()
|
org.pdfsam.console.business.ConsoleServicesFacade |
getConsoleServicesFacade()
|
java.lang.String |
getDefaultEnvironment()
|
java.lang.String |
getDefaultWorkingDirectory()
|
java.util.ResourceBundle |
getI18nResourceBundle()
|
java.lang.String |
getLanguage()
|
int |
getLoggingLevel()
|
int |
getLookAndFeel()
|
java.lang.String |
getPluginAbsolutePath()
|
int |
getTheme()
|
int |
getThumbCreatorPoolSize()
|
java.lang.String |
getThumbnailsCreatorIdentifier()
|
int |
getThumbnailSize()
|
boolean |
isAskOverwriteConfirmation()
|
boolean |
isCheckForUpdates()
|
boolean |
isHighQualityThumbnils()
|
boolean |
isPlaySounds()
|
void |
save()
save the configuration |
void |
setAskOverwriteConfirmation(boolean askOverwriteConfirmation)
set the ask for confirmation flag |
void |
setCheckForUpdates(boolean checkForUpdates)
set the checl for updates flag |
void |
setDefaultEnvironment(java.lang.String defaultEnvironment)
set the path for the default environment |
void |
setDefaultWorkingDirectory(java.lang.String defaultWorkingDirectory)
set the path to the default working directory |
void |
setLanguage(java.lang.String language)
Set the language |
void |
setLoggingLevel(int loggingLevel)
Set the logging level |
void |
setLookAndFeel(int lookAndFeel)
Set the look and feel |
void |
setPlaySounds(boolean playSounds)
Set the play sounds flag |
void |
setTheme(int theme)
Set the theme |
void |
setThumbnailsCreatorIdentifier(java.lang.String thumbnailsCreatorIdentifier)
Set the thumbnail creator identifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OLD_CONFIGURATION_FILE_NAME
public static final java.lang.String CONFIGURATION_FILE_NAME
public static final int DEFAULT_POOL_SIZE
public static final java.lang.String DEFAULT_CONFIG_DIRECTORY
Constructor Detail |
---|
public XmlConfigurationService() throws ConfigurationException
ConfigurationException
Method Detail |
---|
public boolean isCheckForUpdates()
isCheckForUpdates
in interface ConfigurationService
public void setCheckForUpdates(boolean checkForUpdates)
ConfigurationService
setCheckForUpdates
in interface ConfigurationService
public boolean isPlaySounds()
isPlaySounds
in interface ConfigurationService
public void setPlaySounds(boolean playSounds)
ConfigurationService
setPlaySounds
in interface ConfigurationService
public java.lang.String getDefaultWorkingDirectory()
getDefaultWorkingDirectory
in interface ConfigurationService
public void setDefaultWorkingDirectory(java.lang.String defaultWorkingDirectory)
ConfigurationService
setDefaultWorkingDirectory
in interface ConfigurationService
public java.lang.String getDefaultEnvironment()
getDefaultEnvironment
in interface ConfigurationService
public void setDefaultEnvironment(java.lang.String defaultEnvironment)
ConfigurationService
setDefaultEnvironment
in interface ConfigurationService
public int getThumbCreatorPoolSize()
getThumbCreatorPoolSize
in interface ConfigurationService
public java.lang.String getThumbnailsCreatorIdentifier()
getThumbnailsCreatorIdentifier
in interface ConfigurationService
public void setThumbnailsCreatorIdentifier(java.lang.String thumbnailsCreatorIdentifier)
ConfigurationService
setThumbnailsCreatorIdentifier
in interface ConfigurationService
public int getLoggingLevel()
getLoggingLevel
in interface ConfigurationService
public void setLoggingLevel(int loggingLevel)
ConfigurationService
setLoggingLevel
in interface ConfigurationService
public java.util.ResourceBundle getI18nResourceBundle()
getI18nResourceBundle
in interface ConfigurationService
public org.pdfsam.console.business.ConsoleServicesFacade getConsoleServicesFacade()
getConsoleServicesFacade
in interface ConfigurationService
public int getLookAndFeel()
getLookAndFeel
in interface ConfigurationService
public void setLookAndFeel(int lookAndFeel)
ConfigurationService
setLookAndFeel
in interface ConfigurationService
public int getTheme()
getTheme
in interface ConfigurationService
public void setTheme(int theme)
ConfigurationService
setTheme
in interface ConfigurationService
public java.lang.String getLanguage()
getLanguage
in interface ConfigurationService
public void setLanguage(java.lang.String language)
ConfigurationService
setLanguage
in interface ConfigurationService
public java.lang.String getConfigurationInformations()
getConfigurationInformations
in interface ConfigurationService
public java.lang.String getPluginAbsolutePath()
getPluginAbsolutePath
in interface ConfigurationService
public boolean isAskOverwriteConfirmation()
isAskOverwriteConfirmation
in interface ConfigurationService
public void setAskOverwriteConfirmation(boolean askOverwriteConfirmation)
ConfigurationService
setAskOverwriteConfirmation
in interface ConfigurationService
public int getThumbnailSize()
getThumbnailSize
in interface ConfigurationService
public boolean isHighQualityThumbnils()
isHighQualityThumbnils
in interface ConfigurationService
public void save() throws java.io.IOException
ConfigurationService
save
in interface ConfigurationService
java.io.IOException
- in case of error saving the configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |