All Packages Class Hierarchy This Package Previous Next Index
Class w3c.pics.profiler.Enum
java.lang.Object
|
+----w3c.pics.profiler.Enum
- public class Enum
- extends Object
Enum represents a single labeled value in a Category
-
Enum(PICSTokenizer)
- Constructs an Enum from a PICSTokenizer
-
getDescription()
- Returns the description for this Enum.
-
getIcon()
-
Returns the icon for this Enum.
-
getName()
- Returns the name of this Enum.
-
getValue()
- Returns the value of this Enum.
-
toString()
- Returns a String representation of this Enum.
Enum
public Enum(PICSTokenizer PT) throws PICSException, IOException
- Constructs an Enum from a PICSTokenizer
- Parameters:
- PT - The PICSTokenizer
- Throws: PICSException
- If the parsing of the input file failed.
- Throws: IOException
- If reading from the input file failed.
getDescription
public String getDescription()
- Returns the description for this Enum.
- Returns:
- A String, the description for this Enum.
getIcon
public String getIcon()
- Returns the icon for this Enum.
- Returns:
- A String, representing the icon for this Enum.
getName
public String getName()
- Returns the name of this Enum.
- Returns:
- A String, the name of this Enum.
getValue
public double getValue()
- Returns the value of this Enum.
- Returns:
- A double, representing the value of this Enum.
toString
public String toString()
- Returns a String representation of this Enum.
- Returns:
- A human readable String representing this Enum.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index