org.apache.cocoon
Class Browsers

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--org.apache.cocoon.Browsers

public class Browsers
extends java.util.Vector

This inner class is used to store the mapping between browser names and those signature fragments used for mapping.

Version:
$Revision: 1.1 $ $Date: 1999/03/23 23:14:19 $
Author:
Stefano Mazzocchi
See Also:
Serialized Form

Inner Class Summary
(package private)  class Browsers.Browser
          Inner class that contains single browser information.
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData, serialVersionUID
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Browsers(Configurations conf)
          Initialize the map with the mapping rules.
 
Method Summary
 java.lang.String mapBrowser(java.lang.String agent)
          This method maps the "user-Agent" request parameter to a browser name following the search rules defined in the servlet properties.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Browsers

public Browsers(Configurations conf)
Initialize the map with the mapping rules.
Method Detail

mapBrowser

public java.lang.String mapBrowser(java.lang.String agent)
This method maps the "user-Agent" request parameter to a browser name following the search rules defined in the servlet properties.

Copyright (c) 1998 The Java Apache Project