|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.servlet.BrowserType
public class BrowserType
A class that defines a single browser type, like "java", "javascript", etc. Each browser type has a name and a list of matching patterns.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
BrowserType()
|
Method Summary | |
---|---|
java.util.List<java.util.regex.Pattern> |
getCompiledPatterns()
List of compiled regular expressions. |
java.lang.String |
getDisplayName()
Return the display name. |
java.lang.String |
getDisplayNameResource()
|
java.lang.String |
getName()
Returns the value of the name property |
java.lang.String[] |
getPatterns()
Returns the value of the patterns property |
java.lang.String[] |
getRegexPatterns()
The array of regular expression patterns. |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the property DisplayName. |
void |
setDisplayNameResource(java.lang.String pDisplayNameResource)
Sets the property DisplayNameResource. |
void |
setName(java.lang.String pName)
Sets the name of this browser type. |
void |
setPatterns(java.lang.String[] pPatterns)
Sets the patterns of "user-agent" that match this browser type. |
void |
setRegexPatterns(java.lang.String[] pRegexPatterns)
The array of regular expression patterns. |
java.lang.String |
toString()
Returns the String representation consisting of a list of the patterns |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public BrowserType()
Method Detail |
---|
public java.util.List<java.util.regex.Pattern> getCompiledPatterns()
public java.lang.String[] getRegexPatterns()
public void setRegexPatterns(java.lang.String[] pRegexPatterns)
pRegexPatterns
- the array of regular expression patterns to setpublic void setName(java.lang.String pName)
public java.lang.String getName()
public void setDisplayName(java.lang.String pDisplayName)
public java.lang.String getDisplayName()
public void setDisplayNameResource(java.lang.String pDisplayNameResource)
public java.lang.String getDisplayNameResource()
public void setPatterns(java.lang.String[] pPatterns)
public java.lang.String[] getPatterns()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |