All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.pics.db.RulesGenerator

java.lang.Object
   |
   +----w3c.pics.db.RulesGenerator

public class RulesGenerator
extends Object
A Random PICS Profile Generator


Constructor Index

 o RulesGenerator(Vector, int, int, Vector, String, String)
Creates a new RulesGenerator.
 o RulesGenerator(Vector, int, Vector, String)
Creates a new RulesGenerator, using the filenames userNNN.rlz, and the directory profiles, starting with the count of 1.
 o RulesGenerator(Vector, int, Vector, String, String)
Creates a new RulesGenerator starting with the count of 1.

Method Index

 o main(String[])
A test driver for RulesGenerator.

Constructors

 o RulesGenerator
 public RulesGenerator(Vector serlist,
                       int count,
                       Vector snamelist,
                       String filesep)
Creates a new RulesGenerator, using the filenames userNNN.rlz, and the directory profiles, starting with the count of 1.

Parameters:
serlist - The list of Services to use.
count - The number of profiles to create.
snamelist - The list of shortnames to use for the services.
filesep - The file seperator for this operating system.
 o RulesGenerator
 public RulesGenerator(Vector serlist,
                       int count,
                       Vector snamelist,
                       String basename,
                       String dirname)
Creates a new RulesGenerator starting with the count of 1.

Parameters:
serlist - The list of Services to use.
count - The number of profiles to create.
snamelist - The list of shortnames to use for the services.
basename - The base filename to use for the profile files.
dirname - The directory to save the profiles in.
 o RulesGenerator
 public RulesGenerator(Vector serlist,
                       int startnum,
                       int finishnum,
                       Vector snamelist,
                       String basename,
                       String dirname)
Creates a new RulesGenerator.

Parameters:
serlist - The list of Services to use.
startnum - The start count for the profiles.
finishnum - The end count for the profiles.
snamelist - The list of shortnames to use for the services.
basename - The base filename to use for the profile files.
dirname - The directory to save the profiles in.

Methods

 o main
 public static void main(String args[])
A test driver for RulesGenerator. Accepts the following command-line arguments: All files are create with filenames userNNN.rlz in the directory profiles


All Packages  Class Hierarchy  This Package  Previous  Next  Index