Search through the device patterns, trying to match the specified user agent string. If a match is found, either in the cache or from the database then return the name of the matching device.
@param userAgent The user agent string to match against.
@return The name of the device whose pattern matches the user agentstring, or null if no match was found.
@throws RepositoryException If there was a problem accessing therepository.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.