public class ProductReader extends Object
Modifier and Type | Method and Description |
---|---|
static List<Product> |
read(String userAgent)
Parses the given user agent String to a list of Product instances.
|
public static List<Product> read(String userAgent) throws IllegalArgumentException
userAgent
- IllegalArgumentException
- Thrown if the String can not be parsed as a list of Product
instances.Copyright © 2005–2015. All rights reserved.