All Packages Class Hierarchy This Package Previous Next Index
Class w3c.pics.profiler.Profile
java.lang.Object
|
+----w3c.pics.profiler.Profile
- public class Profile
- extends Object
An object representing a .pro file. It contains the state information for
a particular profile.
-
blocks
-
-
description
-
-
dirname
-
-
filename
-
-
passes
-
-
sinfos
-
-
sourceURL
-
-
stringrep
-
-
Profile()
- Creates a new, empty Profile.
-
Profile(Enumeration, String, String)
- Creates a new Profile object.
-
Profile(String)
- Creates a new Profile object.
-
Profile(String, String)
- Creates a new Profile object.
-
Profile(String, String, String)
- Creates a new Profile object.
-
addFile(String)
- Adds a filename to the internal table of filenames.
-
addLSource(String)
- Adds a label source to the internal table of label sources.
-
addURL(String)
- Adds a URL to the internal table of Forbidden URLs.
-
addURL2(String)
- Adds a URL to the internal table of Permitted URLs.
-
getBlock()
- Returns the Block portion of the Filter clause for this Profile.
-
getBools()
- Returns the booleans, in order, used in this Profile.
-
getDesc()
- Returns the value of the description field of the name clause for this
Profile.
-
getDirname()
-
Returns the directory name stored within this Profile (if any)
-
getFilename()
- Returns the file name stored within this Profile (if any)
-
getFiles()
- Returns the filenames contained within this Profile.
-
getFullNames()
- Returns the full names contained within this Profile.
-
getLSources()
- Returns the label sources contained within this Profile.
-
getPass()
- Returns the Pass portion of the Filter clause for this Profile.
-
getPros()
- Returns the profiles contained within this Profile.
-
getRats()
- Returns the service descriptions contained within this Profile.
-
getServiceInfos()
- Returns the serviceinfo clauses (as LabelSources) contained within this
Profile.
-
getSourceURL()
- Returns the value of the sourceURL field of the source clause for this
Profile.
-
getStates()
- Returns the ratings settings contained within this Profile.
-
getStringRep()
- Returns a String with the contents of the Profile.
-
getURLs()
- Returns the Forbidden URLs contained within this Profile.
-
getURLs2()
- Returns the Permitted URLs for contained within this Profile.
-
putFullName(String)
- Puts a full name (service/filename) into this Profile.
-
putState(String)
- Puts a ratings description in this Profile.
stringrep
protected String stringrep
sinfos
protected Vector sinfos
filename
protected String filename
dirname
protected String dirname
passes
protected String passes
blocks
protected String blocks
description
protected String description
sourceURL
protected String sourceURL
Profile
public Profile()
- Creates a new, empty Profile.
Profile
public Profile(String filename,
String opendir)
- Creates a new Profile object.
- Parameters:
- filename - The name of the .pro file.
- opendir - The current working directory.
Profile
public Profile(String filelist)
- Creates a new Profile object.
- Parameters:
- filelist - The list of .pro and .rat files for this Profile.
Profile
public Profile(String filelist,
String fname,
String dname)
- Creates a new Profile object.
- Parameters:
- filelist - The list of .pro and .rat files for this Profile.
- fname - The name of the .pro file for this Profile.
- dname - The name of the directory for this Profile.
Profile
public Profile(Enumeration thelist,
String fname,
String dname)
- Creates a new Profile object.
- Parameters:
- thelist - An enumeration containing the profile information.
- fname - The name of the file for this Profile.
- dname - The name of the directory for this Profile.
putState
public void putState(String state)
- Puts a ratings description in this Profile.
- Parameters:
- state - A String representing a ratings description.
putFullName
public void putFullName(String fname)
- Puts a full name (service/filename) into this Profile.
- Parameters:
- state - A String representing a full name.
getFullNames
public Vector getFullNames()
- Returns the full names contained within this Profile.
- Returns:
- A Vector containing the full names (service/file) contained
within this Profile.
getStringRep
public String getStringRep()
- Returns a String with the contents of the Profile.
- Returns:
- A String representation of the Profile.
getPros
public Vector getPros()
- Returns the profiles contained within this Profile.
- Returns:
- A Vector containing the names of the .pro files inside this
profile.
getRats
public Vector getRats()
- Returns the service descriptions contained within this Profile.
- Returns:
- A Vector containing the names of the .rat files inside this
profile.
getStates
public Vector getStates()
- Returns the ratings settings contained within this Profile.
- Returns:
- A Vector containing the saved state for each of the service
descriptions within this profile.
getURLs
public Vector getURLs()
- Returns the Forbidden URLs contained within this Profile.
- Returns:
- A Vector containing the Forbidden URLs for this Profile.
getURLs2
public Vector getURLs2()
- Returns the Permitted URLs for contained within this Profile.
- Returns:
- A Vector containing the Permitted URLs for this Profile.
getLSources
public Vector getLSources()
- Returns the label sources contained within this Profile.
- Returns:
- A Vector containing the label sources for this Profile.
getFiles
public Vector getFiles()
- Returns the filenames contained within this Profile.
- Returns:
- A Vector containing the filenames for this Profile.
getBools
public Vector getBools()
- Returns the booleans, in order, used in this Profile.
- Returns:
- A Vector containing the booleans (as Strings) for this Profile.
getServiceInfos
public Vector getServiceInfos()
- Returns the serviceinfo clauses (as LabelSources) contained within this
Profile.
- Returns:
- A Vector containing the LabelSource objects for this Profile.
- See Also:
- LabelSource
addFile
protected void addFile(String fname)
- Adds a filename to the internal table of filenames.
- Parameters:
- fname - The filename to add.
addLSource
public void addLSource(String sname)
- Adds a label source to the internal table of label sources.
- Parameters:
- sname - The name of the label source.
addURL
public void addURL(String urlname)
- Adds a URL to the internal table of Forbidden URLs. Checks to see
that it is in the proper format.
- Parameters:
- urlname - The URL as a String.
addURL2
public void addURL2(String urlname)
- Adds a URL to the internal table of Permitted URLs. Checks to see
that it is in the proper format.
- Parameters:
- urlname - The URL as a String.
getFilename
public String getFilename()
- Returns the file name stored within this Profile (if any)
- Returns:
- The name of this .pro file for this Profile.
getDirname
public String getDirname()
- Returns the directory name stored within this Profile (if any)
- Returns:
- The name of the directory for the .pro file for this Profile.
getPass
public String getPass()
- Returns the Pass portion of the Filter clause for this Profile.
- Returns:
- A String containing the Pass portion of the Filter.
getBlock
public String getBlock()
- Returns the Block portion of the Filter clause for this Profile.
- Returns:
- A String containing the Block portion of the Filter,
getDesc
public String getDesc()
- Returns the value of the description field of the name clause for this
Profile.
- Returns:
- A String containing the description for this Profile.
getSourceURL
public String getSourceURL()
- Returns the value of the sourceURL field of the source clause for this
Profile.
- Returns:
- A String containing the sourceURL for this Profile.
All Packages Class Hierarchy This Package Previous Next Index