org.lobobrowser.settings
Class AssociatedSettings

java.lang.Object
  extended by org.lobobrowser.settings.AssociatedSettings
All Implemented Interfaces:
java.io.Serializable

public class AssociatedSettings
extends java.lang.Object
implements java.io.Serializable

Settings associated with host names. This is a singleton class with an instance obtained by calling getInstance().

See Also:
Serialized Form

Method Summary
static AssociatedSettings getInstance()
          Gets the class singleton.
 java.lang.String getUserNameForHost(java.lang.String hostName)
           
 void save()
           
 void setUserNameForHost(java.lang.String hostName, java.lang.String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AssociatedSettings getInstance()
Gets the class singleton.


save

public void save()

getUserNameForHost

public java.lang.String getUserNameForHost(java.lang.String hostName)

setUserNameForHost

public void setUserNameForHost(java.lang.String hostName,
                               java.lang.String userName)


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]