c408h006
Class FileState

java.lang.Object
  extended byc408h006.FileState

public class FileState
extends java.lang.Object

A representation of the current state of the file.


Constructor Summary
FileState()
          Default constructor.
FileState(java.util.Vector users, java.lang.String file)
          Constructs an instance of this class.
 
Method Summary
 java.lang.String getFile()
          Return the file being formatted by the Users.
 java.util.Vector getUsers()
          Return the list of Users using the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileState

public FileState()
Default constructor.


FileState

public FileState(java.util.Vector users,
                 java.lang.String file)
Constructs an instance of this class.

Parameters:
users - A list of Users connected to the file
file - The file being formatted by the Users
Method Detail

getUsers

public java.util.Vector getUsers()
Return the list of Users using the file.

Returns:
The list of Users using the file

getFile

public java.lang.String getFile()
Return the file being formatted by the Users.

Returns:
the file being formatted by the Users