All Packages Class Hierarchy This Package Previous Next Index
Class w3c.pics.db.LabelData
java.lang.Object
|
+----w3c.pics.db.LabelData
- public class LabelData
- extends Object
A class that encapsulates the ratings and URL of a PICS label.
-
LabelData(String[], String)
- Create a new LabelData.
-
getFullLabel()
- Returns the data contained about the ratings.
-
getLabel()
- Returns the data contained about the ratings.
-
getUrl()
- Returns the URL contained in this LabelData.
-
toString()
- Returns a human-readable representation of this LabelData.
LabelData
public LabelData(String label[],
String url)
- Create a new LabelData.
- Parameters:
- label - An array of String that contains one entry representing the
ratings for each category in the PICS label.
- url - The URL that this PICS label is for.
getLabel
public String[] getLabel()
- Returns the data contained about the ratings.
- Returns:
- A String[] containing the ratings data.
getFullLabel
public String getFullLabel()
- Returns the data contained about the ratings.
- Returns:
- A String containing the ratings data.
getUrl
public String getUrl()
- Returns the URL contained in this LabelData.
- Returns:
- A String, the URL for this LabelData.
toString
public String toString()
- Returns a human-readable representation of this LabelData.
- Returns:
- A String containing a representation of this LabelData.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index