blueme.messenger.common
Class Config

java.lang.Object
  extended by java.util.Hashtable
      extended by blueme.messenger.common.SerUnser
          extended by blueme.messenger.common.Config
All Implemented Interfaces:
iConfig

public class Config
extends SerUnser
implements iConfig

Used to save different user settings.


Constructor Summary
Config()
          Creates a new instance of Config
 
Method Summary
 boolean getAutoLock()
          Get automated key lock flag
 int getConfigVersion()
          Get Config version.
 java.lang.String getLanguage()
          Get language code Language codes are defined in "ISO 639: 2-letter codes" her http://www.w3.org/WAI/ER/IG/ert/iso639.htm Default language is EN (English)
 boolean isChat()
          Get the flag that describes which way the user wants to view messages "true" = chat layout, "false" = inbox/outbox layout
 void setAutoLock(boolean autoLock)
          Set automated key lock flag
 void setChat(boolean chat)
          Set the flag that describes which way the user wants to view messages "true" = chat layout, "false" = inbox/outbox layout
 void setLanguage(java.lang.String languageCode)
          Define application language Language codes are defined in "ISO 639: 2-letter codes" her http://www.w3.org/WAI/ER/IG/ert/iso639.htm
 
Methods inherited from class blueme.messenger.common.SerUnser
get, put, serialize, unserialize
 
Methods inherited from class java.util.Hashtable
clear, contains, containsKey, elements, isEmpty, keys, rehash, remove, size, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface blueme.messenger.common.iConfig
serialize, unserialize
 

Constructor Detail

Config

public Config()
Creates a new instance of Config

Method Detail

getAutoLock

public boolean getAutoLock()
Description copied from interface: iConfig
Get automated key lock flag

Specified by:
getAutoLock in interface iConfig

getConfigVersion

public int getConfigVersion()
Description copied from interface: iConfig
Get Config version.

Specified by:
getConfigVersion in interface iConfig

isChat

public boolean isChat()
Description copied from interface: iConfig
Get the flag that describes which way the user wants to view messages "true" = chat layout, "false" = inbox/outbox layout

Specified by:
isChat in interface iConfig

setAutoLock

public void setAutoLock(boolean autoLock)
Description copied from interface: iConfig
Set automated key lock flag

Specified by:
setAutoLock in interface iConfig

setChat

public void setChat(boolean chat)
Description copied from interface: iConfig
Set the flag that describes which way the user wants to view messages "true" = chat layout, "false" = inbox/outbox layout

Specified by:
setChat in interface iConfig

getLanguage

public java.lang.String getLanguage()
Description copied from interface: iConfig
Get language code Language codes are defined in "ISO 639: 2-letter codes" her http://www.w3.org/WAI/ER/IG/ert/iso639.htm Default language is EN (English)

Specified by:
getLanguage in interface iConfig

setLanguage

public void setLanguage(java.lang.String languageCode)
Description copied from interface: iConfig
Define application language Language codes are defined in "ISO 639: 2-letter codes" her http://www.w3.org/WAI/ER/IG/ert/iso639.htm

Specified by:
setLanguage in interface iConfig