Class W3C.PICS.Filter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class W3C.PICS.Filter

W3C.PICS.Filter

public class Filter
Filter's structure is similar to SingleLabel. Instead of having a value for each category, Filter stores the upper and lower limits.
See Also:
Range, SingleLabel

Constructor Index

 o Filter(InputStream)
Constructs a Filter from an InputStream
 o Filter(String)

Method Index

 o addRange(Range)
 o getRangeList()
 o getRatingsystem()
 o nextRange()
 o reset()
Reset the internal pointer so that the next call of nextRange() will return the first Range,
 o toString()

Constructors

 o Filter
  public Filter(String ratingsystem)
 o Filter
  public Filter(InputStream ins) throws PICSException, IOException
Constructs a Filter from an InputStream

Methods

 o addRange
  public void addRange(Range r)
 o toString
  public String toString()
Returns:
The a text representation of the Filter
 o getRangeList
  public Vector getRangeList()
 o getRatingsystem
  public String getRatingsystem()
 o reset
  public void reset()
Reset the internal pointer so that the next call of nextRange() will return the first Range,
 o nextRange
  public Range nextRange()
Returns:
The next Range

All Packages  Class Hierarchy  This Package  Previous  Next  Index