Class semper.certappl.UserList
All Packages Class Hierarchy This Package Previous Next Index
Class semper.certappl.UserList
java.lang.Object
|
+----semper.certappl.UserList
- public class UserList
- extends Object
Class UserList is a collection of SemperUsers in a list.
For authentication purposes against CA server this class is needed
from certification application.
-
UserList()
- Constructor of class UserList
-
closeFile()
- Closes a file.
-
doesExist(SemperUser)
- This method checks if an object of class semperUser exists in a
certain file which is already opened.
-
openFile(String, String)
- Opens a file.
-
sizeOfFile(File)
- Finds the total size of the file.
UserList
public UserList()
- Constructor of class UserList
openFile
public void openFile(String filename,
String mode) throws IOException
- Opens a file.
- Parameters:
- filename - = is the name of the file.
- mode - = could be read and/or write
- Throws: IOException
- if a file couldn't be opened.
- See Also:
- closeFile
closeFile
public void closeFile() throws IOException
- Closes a file.
- Throws: IOException
- if a opened file couldn't be closed.
- See Also:
- openFile
doesExist
public boolean doesExist(SemperUser sempuser)
- This method checks if an object of class semperUser exists in a
certain file which is already opened.
- Parameters:
- sempuser, - semperuser is an object of class SemperUser
which should be checked if there is the same enrty of
it in the file.
- Returns:
- boolean value
- Throws: IOException
- when enf of file is reached without finding any proper
entry.
sizeOfFile
public long sizeOfFile(File file)
- Finds the total size of the file.
- Parameters:
- file - = File its size should be determined.
All Packages Class Hierarchy This Package Previous Next Index