Package org.restlet.engine.header
Class ProductReader
java.lang.Object
org.restlet.engine.header.ProductReader
User agent header reader.
- Author:
- Thierry Boileau
-
Method Summary
-
Method Details
-
read
Parses the given user agent String to a list of Product instances.- Parameters:
userAgent-- Returns:
- the List of Product objects parsed from the String
- Throws:
IllegalArgumentException- Thrown if the String can not be parsed as a list of Product instances.
-