|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BrandedProduct<BRAND extends java.lang.Enum<BRAND> & BrandedProduct.Brand>
The identification of a branded product, such as a user agent or a plugin, on the platform.
| Nested Class Summary | |
|---|---|
static interface |
BrandedProduct.Brand
The individual brand of the product. |
| Method Summary | |
|---|---|
BRAND |
getBrand()
|
boolean |
isBrandLessThanVersionNumber(BRAND brand,
double versionNumber)
Determines whether this product has the indicated brand and a version number less than the one indicated. |
boolean |
isBrandVersionNumber(BRAND brand,
double versionNumber)
Determines whether this product has the indicated brand and version number. |
| Method Detail |
|---|
BRAND getBrand()
null if the brand is not known.
boolean isBrandVersionNumber(BRAND brand,
double versionNumber)
brand - The brand to check for.versionNumber - The version number to check for.
true if this product has the indicated brand and version number.
boolean isBrandLessThanVersionNumber(BRAND brand,
double versionNumber)
brand - The brand to check for.versionNumber - The version number to check for.
true if this product has the indicated brand and a version number less than the one indicated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||