vqServer API Class vq.server.Users

java.lang.Object
    |
    +----vq.utils.kllist
            |
            +----vq.server.Users
Contents
Package index
Package
API index

public class Users
extends kllist
Represents a list of users. Alphabetically ordered by user ID. Warning: vqServer will not operate correctly if you add anything other than instances of User to an instance of Users. Use add(User) to add a user to the list.

See Also:
User

Constructor Index

 o Users()
Creates an empty list.

Method Index

 o add(User)
Adds the specified user to the list.
 o getByID(String)
Returns the (first) user with the specified ID.
 o read(vqis)
Reads User specifications from the specified input stream and adds them to the list.
 o save(vqos)
Writes the list to the specified output stream in vqServer .cfg file format.

Constructor Detail

 o Users
public Users()
          Creates an empty list.

Method Detail

 o read
public void read(vqis is) throws java.io.IOException
          Reads User specifications from the specified input stream and adds them to the list.
Overrides:
read in class kllist
 o getByID
public User getByID(java.lang.String theID)
          Returns the (first) user with the specified ID.
 o add
public void add(User theUser)
          Adds the specified user to the list. The position of the user in the list depends on the user's ID (not the user's key).
 o save
public void save(vqos os) throws java.io.IOException
          Writes the list to the specified output stream in vqServer .cfg file format. Calls the save(vqos) method of each user in the list.
Overrides:
save in class kllist


vqServer API version 1.9. vqServer and the vqServer API are copyright © Steve Shering and vqSoft 1997-2000. Last updated 15 May 2000.

Contents
Package index
Package
API index