net.sourceforge.jdbdump.connect
Class User

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by net.sourceforge.jdbdump.connect.User
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class User
extends java.util.Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
User(java.lang.String login, java.lang.String password, java.lang.String email)
           
 
Method Summary
 java.lang.String getEmail()
           
 java.lang.String getLogin()
           
 java.lang.String getPassword()
           
 java.lang.Object setEmail(java.lang.String email)
           
 java.lang.Object setLogin(java.lang.String login)
           
 java.lang.Object setPassword(java.lang.String password)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User(java.lang.String login,
            java.lang.String password,
            java.lang.String email)
     throws java.lang.IllegalArgumentException
Parameters:
login - User's login name
password - User's password
email - User's e-mail address. May be null, but if specified has to be valid.
Throws:
java.lang.IllegalArgumentException - Invalid e-mail address
Method Detail

setLogin

public java.lang.Object setLogin(java.lang.String login)
                          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setPassword

public java.lang.Object setPassword(java.lang.String password)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

setEmail

public java.lang.Object setEmail(java.lang.String email)
                          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getLogin

public java.lang.String getLogin()

getPassword

public java.lang.String getPassword()

getEmail

public java.lang.String getEmail()


Copyright © 2005-2006 AGH International University of Science and Technology. All Rights Reserved.