All Packages Class Hierarchy This Package Previous Next Index
Class semper.download.registration.NewsClass
java.lang.Object
|
+----semper.download.registration.NewsClass
- public class NewsClass
- extends Object
- implements Serializable
The NewsClass class defines and implements all the methods that are necessary
in order to manipulate the local stored news
- Version:
- $Revision: 1.1 $ $Date: 1998/03/13 16:48:13 $
- Author:
- Petros Pantis, Kostas Tzelepis
-
NewsClass()
- Object constructor
-
htmlContents()
-
-
printSelf(PrintWriter)
- Method used for debugging reasons
-
registerNews(Vector, InetAddress, String)
- Method used to register news, in the news database.
-
retrieveNews(long)
- Retrieve all the news that have been registered after the passed time
NewsClass
public NewsClass()
- Object constructor
registerNews
public long registerNews(Vector news,
InetAddress host,
String certid)
- Method used to register news, in the news database.
- Parameters:
- news - this list contains the news, that should be registered
- host - the host address that offers the news
- certid - the certificate identifier of the news originator
- Returns:
- value the register-time
retrieveNews
public Vector retrieveNews(long time)
- Retrieve all the news that have been registered after the passed time
- Parameters:
- time - defines the starting time in which the database search should begin
- Returns:
- value a list of news that have been registered after the above time
printSelf
public void printSelf(PrintWriter out)
- Method used for debugging reasons
htmlContents
public String htmlContents()
All Packages Class Hierarchy This Package Previous Next Index