    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

##

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

##

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

##

Filter

      public Filter(String ratingsystem)

Filter

      public Filter(InputStream ins) throws PICSException, IOException

  Constructs a Filter from an InputStream

##

addRange

      public void addRange(Range r)

toString

      public String toString()

Returns:
  The a text representation of the Filter

getRangeList

      public Vector getRangeList()

getRatingsystem

      public String getRatingsystem()

reset

      public void reset()

  Reset the internal pointer so that the next call of nextRange() will return the first Range,

nextRange

      public Range nextRange()

Returns:
  The next Range

    All Packages  Class Hierarchy  This Package  Previous  Next  Index