All Packages Class Hierarchy This Package Previous Next Index
Class w3c.pics.db.SQLProfile
java.lang.Object
|
+----w3c.pics.profiler.Profile
|
+----w3c.pics.db.SQLProfile
- public class SQLProfile
- extends Profile
An object representing a Profile. It contains the state information for
a particular profile.
-
SQLProfile()
- Creates a new, empty SQLProfile object.
-
SQLProfile(Enumeration, String, String)
- Creates a new SQLProfile object.
-
addLSource(LabelSource)
- Adds a LabelSource to the list of label sources for this profile.
-
getAuthor()
- Returns the author of this profile.
-
getLastDate()
- Returns the last modified date for this profile.
-
getLastDateTime()
- Returns the last modified date and time.
-
getLastTime()
- Returns the last modified time for this profile.
-
getRulename()
- Returns the rulename clause of this profile.
-
getTool()
- Returns the creationtool clause of this profile.
-
parseLast(String)
- Takes a timestamp in ISO format as the lastmodified date for this
profile and parses it, saving the results in this SQLProfile.
-
putAuthor(String)
- Puts an author entry into this SQLProfile.
-
putBlock(String)
- Puts a String into this profile as the Block sub-clause of a Filter
clause.
-
putDesc(String)
- Puts a description into this SQLProfile.
-
putPass(String)
- Puts a String into this profile as the Pass sub-clause of a Filter clause.
-
putRulename(String)
- Puts a rulename into this SQLProfile.
-
putSourceURL(String)
- Puts a source URL into this SQLProfile.
-
putTool(String)
- Puts a creationTool entry into this SQLProfile.
-
toString()
- Returns a human readable form of this SQLProfile.
SQLProfile
public SQLProfile()
- Creates a new, empty SQLProfile object.
SQLProfile
public SQLProfile(Enumeration thelist,
String fname,
String dname)
- Creates a new SQLProfile 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.
getRulename
public String getRulename()
- Returns the rulename clause of this profile.
- Returns:
- A String containing the rulename.
putRulename
public void putRulename(String newrulename)
- Puts a rulename into this SQLProfile.
- Parameters:
- newrulename - The String to use as the rulename.
putDesc
public void putDesc(String newdesc)
- Puts a description into this SQLProfile.
- Parameters:
- newdesc - The String to use as the description.
putSourceURL
public void putSourceURL(String newURL)
- Puts a source URL into this SQLProfile.
- Parameters:
- newURL - The String to use as the Source URL.
getTool
public String getTool()
- Returns the creationtool clause of this profile.
- Returns:
- A String containing the name of the creation tool.
putTool
public void putTool(String newtool)
- Puts a creationTool entry into this SQLProfile.
- Parameters:
- newtool - The String to use as the creationTool.
getAuthor
public String getAuthor()
- Returns the author of this profile.
- Returns:
- A String containing the author.
putAuthor
public void putAuthor(String newauthor)
- Puts an author entry into this SQLProfile.
- Parameters:
- newauthor - The String to use as the author.
parseLast
public void parseLast(String lastmod)
- Takes a timestamp in ISO format as the lastmodified date for this
profile and parses it, saving the results in this SQLProfile.
- Parameters:
- lastmod - The timestamp to parse.
getLastDate
public String getLastDate()
- Returns the last modified date for this profile.
- Returns:
- A String containing the last modified date.
getLastTime
public String getLastTime()
- Returns the last modified time for this profile.
- Returns:
- A String containing the last modified time.
getLastDateTime
public String getLastDateTime()
- Returns the last modified date and time.
- Returns:
- A String containing the last modified date and time, seperated
by a single space.
putPass
public void putPass(String thepass)
- Puts a String into this profile as the Pass sub-clause of a Filter clause.
- Parameters:
- thepass - The Pass string.
putBlock
public void putBlock(String theblock)
- Puts a String into this profile as the Block sub-clause of a Filter
clause.
- Parameters:
- theblock - The Block string.
addLSource
public void addLSource(LabelSource ls)
- Adds a LabelSource to the list of label sources for this profile.
- Parameters:
- ls - The LabelSource
toString
public String toString()
- Returns a human readable form of this SQLProfile.
- Returns:
- A String containing a human readable form of this profile.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index