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
-
RulesGenerator(Vector, int, int, Vector, String, String)
- Creates a new RulesGenerator.
-
RulesGenerator(Vector, int, Vector, String)
- Creates a new RulesGenerator, using the filenames userNNN.rlz,
and the directory profiles, starting with the count of 1.
-
RulesGenerator(Vector, int, Vector, String, String)
- Creates a new RulesGenerator starting with the count of 1.
-
main(String[])
- A test driver for RulesGenerator.
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.
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.
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.
main
public static void main(String args[])
- A test driver for RulesGenerator.
Accepts the following command-line arguments:
- -count number: The number of profiles to make.
- -startat number: The number to start the profiles at.
- -service servicename: A service to use (may appear more than
once).
All files are create with filenames userNNN.rlz in the directory
profiles
All Packages Class Hierarchy This Package Previous Next Index