com.hp.hpl.deli
Class LocalProfiles

java.lang.Object
  extended bycom.hp.hpl.deli.LocalProfiles

class LocalProfiles
extends java.lang.Object

Author:
Mark H. Butler (mark-h_butler@hp.com)

Field Summary
private  java.util.Vector profileRefs
           
private  java.util.Vector useragents
           
 
Constructor Summary
protected LocalProfiles(java.lang.String localProfile)
          The constructor reads in a local profile file.
 
Method Summary
protected  java.lang.String getReference(java.lang.String s)
          This method retrieves the profile URL for the device based on the user-agent string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useragents

private java.util.Vector useragents

profileRefs

private java.util.Vector profileRefs
Constructor Detail

LocalProfiles

protected LocalProfiles(java.lang.String localProfile)
The constructor reads in a local profile file.

Parameters:
localProfile - The local profile file.
Method Detail

getReference

protected java.lang.String getReference(java.lang.String s)
This method retrieves the profile URL for the device based on the user-agent string.

Parameters:
s - The user-agent string.
Returns:
The profile URL.