B C D E G H I L M O P R S T U V 

B

BrowserFamilyParser - Class in cz.mallat.uasparser
A UASparser which is only concerned with returning the browser family string as quickly as possible.
BrowserFamilyParser(InputStream) - Constructor for class cz.mallat.uasparser.BrowserFamilyParser
 
BrowserFamilyParser(InputStream, String[]) - Constructor for class cz.mallat.uasparser.BrowserFamilyParser
 
BrowserFamilyParser(String) - Constructor for class cz.mallat.uasparser.BrowserFamilyParser
 
BrowserFamilyParser(String, String[]) - Constructor for class cz.mallat.uasparser.BrowserFamilyParser
Creates a parser which can directly return the Browser Family string
browserMap - Variable in class cz.mallat.uasparser.UASparser
 
browserOsMap - Variable in class cz.mallat.uasparser.UASparser
 
browserRegMap - Variable in class cz.mallat.uasparser.UASparser
 
browsers - Variable in class cz.mallat.uasparser.BrowserFamilyParser
 
browserTypeMap - Variable in class cz.mallat.uasparser.UASparser
 

C

CACHE_FILENAME - Static variable in class cz.mallat.uasparser.OnlineUpdater
 
cacheFile - Variable in class cz.mallat.uasparser.OnlineUpdater
 
CachingOnlineUpdateUASparser - Class in cz.mallat.uasparser
Deprecated.
CachingOnlineUpdateUASparser() - Constructor for class cz.mallat.uasparser.CachingOnlineUpdateUASparser
Deprecated.
The cache files are put into the java tmp directory
CachingOnlineUpdateUASparser(String) - Constructor for class cz.mallat.uasparser.CachingOnlineUpdateUASparser
Deprecated.
The cache files are put into the cacheDir
checkDataMaps() - Method in class cz.mallat.uasparser.CachingOnlineUpdateUASparser
Deprecated.
This implementation uses a local properties file to keep the lastUpdate time and the local data file version
checkDataMaps() - Method in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
Since we've online access to the data file, we check every day for an update
checkDataMaps() - Method in class cz.mallat.uasparser.UASparser
Deprecated.
compiledBrowserMatcherMap - Variable in class cz.mallat.uasparser.SingleThreadedUASparser
 
compiledBrowserRegMap - Variable in class cz.mallat.uasparser.BrowserFamilyParser
 
compiledBrowserRegMap - Variable in class cz.mallat.uasparser.UASparser
 
compiledDeviceMatcherMap - Variable in class cz.mallat.uasparser.SingleThreadedUASparser
 
compiledDeviceRegMap - Variable in class cz.mallat.uasparser.UASparser
 
compiledOsMatcherMap - Variable in class cz.mallat.uasparser.SingleThreadedUASparser
 
compiledOsRegMap - Variable in class cz.mallat.uasparser.BrowserFamilyParser
 
compiledOsRegMap - Variable in class cz.mallat.uasparser.UASparser
 
convertPerlToJavaRegex(String) - Method in class cz.mallat.uasparser.UASparser
Converts a PERL style regex into the Java style.
copyFile(File, File) - Method in class cz.mallat.uasparser.OnlineUpdater
Copy source file to destination
createInternalDataStructure(List<Section>) - Method in class cz.mallat.uasparser.UASparser
Creates the internal data structures from the sectionList
currentVersion - Variable in class cz.mallat.uasparser.OnlineUpdater
 
currentVersion - Variable in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
 
cz.mallat.uasparser - package cz.mallat.uasparser
 
cz.mallat.uasparser.fileparser - package cz.mallat.uasparser.fileparser
 

D

DATA_RETRIVE_URL - Static variable in class cz.mallat.uasparser.OnlineUpdater
 
DATA_RETRIVE_URL - Static variable in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
 
deviceMap - Variable in class cz.mallat.uasparser.UASparser
 
deviceRegMap - Variable in class cz.mallat.uasparser.UASparser
 

E

Entry - Class in cz.mallat.uasparser.fileparser
JavaBean that holds an entry from a parsed file
Entry(String) - Constructor for class cz.mallat.uasparser.fileparser.Entry
 

G

getBrowserMatcherSet() - Method in class cz.mallat.uasparser.MultithreadedUASparser
 
getBrowserMatcherSet() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
 
getBrowserVersionInfo() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the UA version number; i.e., given the UA:
getData() - Method in class cz.mallat.uasparser.fileparser.Entry
 
getDeviceIcon() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the icon filename, if available; i.e., given the UA:
getDeviceInfoUrl() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the URL path for the given UA on user-agent-string.info; i.e., given the UA:
getDeviceMatcherSet() - Method in class cz.mallat.uasparser.MultithreadedUASparser
 
getDeviceMatcherSet() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
 
getDeviceType() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the type of the device, if available.
getEntries() - Method in class cz.mallat.uasparser.fileparser.Section
 
getKey() - Method in class cz.mallat.uasparser.fileparser.Entry
 
getName() - Method in class cz.mallat.uasparser.fileparser.Section
 
getOsCompany() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the name of the OS vendor
getOsCompanyUrl() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the URL to the OS vendor's homepage
getOsFamily() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the OS family name
getOsIcon() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the filename of the OS icon
getOsMatcherSet() - Method in class cz.mallat.uasparser.MultithreadedUASparser
 
getOsMatcherSet() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
 
getOsName() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the OS name
getOsUrl() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the URL to the OS vendor's product page
getSections() - Method in class cz.mallat.uasparser.fileparser.PHPFileParser
 
getType() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the type of UA.
getUaCompany() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the name of the company which developed the given UA; i.e., given the UA:
getUaCompanyUrl() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the URL of the company which developed the given UA; i.e., given the UA:
getUaFamily() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the product family; i.e., given the UA:
getUaIcon() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the icon filename, if available; i.e., given the UA:
getUaInfoUrl() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the URL path for the given UA on user-agent-string.info; i.e., given the UA:
getUaName() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the UA name and version; i.e., given the UA:
getUaUrl() - Method in class cz.mallat.uasparser.UserAgentInfo
Retrieve the URL of the UA's product page; i.e., given the UA:
getVendoredInputStream() - Static method in class cz.mallat.uasparser.OnlineUpdater
Retrieve an InputStream to the vendored copy of the UA strings file.
getVersionFromServer() - Method in class cz.mallat.uasparser.OnlineUpdater
Gets the current version from user-agent-string.info
getVersionFromServer() - Method in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
Gets the current version from user-agent-string.info
guessDeviceType(UserAgentInfo) - Method in class cz.mallat.uasparser.UASparser
Determine device type based on UA type field

H

hasDeviceInfo() - Method in class cz.mallat.uasparser.UserAgentInfo
 
hasOsInfo() - Method in class cz.mallat.uasparser.UserAgentInfo
 

I

init() - Method in class cz.mallat.uasparser.OnlineUpdater
Initialize the parser with cached data.
isRobot() - Method in class cz.mallat.uasparser.UserAgentInfo
Returns true if this represents a Robot

L

lastUpdateCheck - Variable in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
 
loadDataFromFile(File) - Method in class cz.mallat.uasparser.UASparser
loads the data file and creates all internal data structures
loadDataFromFile(InputStream) - Method in class cz.mallat.uasparser.UASparser
loads the data file and creates all internal data structs
loadDataFromInternet() - Method in class cz.mallat.uasparser.OnlineUpdater
Loads the data file from user-agent-string.info and caches it on disk

M

MultithreadedUASparser - Class in cz.mallat.uasparser
This parser creates a Matcher set per-Thread using a ThreadLocal.
MultithreadedUASparser(InputStream) - Constructor for class cz.mallat.uasparser.MultithreadedUASparser
 
MultithreadedUASparser(String) - Constructor for class cz.mallat.uasparser.MultithreadedUASparser
 

O

OnlineUpdater - Class in cz.mallat.uasparser
An updater which runs in a separate background thread and will update once per day.
OnlineUpdater(UASparser) - Constructor for class cz.mallat.uasparser.OnlineUpdater
Create a new updater with the default interval of 1 day
OnlineUpdater(UASparser, String, long, TimeUnit) - Constructor for class cz.mallat.uasparser.OnlineUpdater
Create a new updater
OnlineUpdateUASparser - Class in cz.mallat.uasparser
Deprecated.
OnlineUpdateUASparser() - Constructor for class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
 
osMap - Variable in class cz.mallat.uasparser.UASparser
 
osRegMap - Variable in class cz.mallat.uasparser.UASparser
 

P

parse(String) - Method in class cz.mallat.uasparser.UASparser
Parse the given user agent string and returns a UserAgentInfo object with the related data
parseBrowserFamily(String) - Method in class cz.mallat.uasparser.BrowserFamilyParser
 
parseBrowserOnly(String) - Method in class cz.mallat.uasparser.UASparser
Parse the given user agent string and returns a UserAgentInfo object with only the related Browser data set.
parser - Variable in class cz.mallat.uasparser.OnlineUpdater
 
PHPFileParser - Class in cz.mallat.uasparser.fileparser
Emulates the behavior of the php function "parse_ini_file".
PHPFileParser(InputStream) - Constructor for class cz.mallat.uasparser.fileparser.PHPFileParser
 
PHPFileParser(Reader) - Constructor for class cz.mallat.uasparser.fileparser.PHPFileParser
 
PHPFileParser(File) - Constructor for class cz.mallat.uasparser.fileparser.PHPFileParser
 
preCompileBrowserMatcherMap() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
 
preCompileBrowserRegMap() - Method in class cz.mallat.uasparser.BrowserFamilyParser
Precompile browser regexes
preCompileBrowserRegMap() - Method in class cz.mallat.uasparser.MultithreadedUASparser
 
preCompileBrowserRegMap() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
Precompile browser regexes
preCompileBrowserRegMap() - Method in class cz.mallat.uasparser.UASparser
Precompile browser regexes
preCompileDeviceMatcherMap() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
 
preCompileDeviceRegMap() - Method in class cz.mallat.uasparser.MultithreadedUASparser
 
preCompileDeviceRegMap() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
Precompile device regexes
preCompileDeviceRegMap() - Method in class cz.mallat.uasparser.UASparser
Precompile device regexes
preCompileOsMatcherMap() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
 
preCompileOsRegMap() - Method in class cz.mallat.uasparser.MultithreadedUASparser
 
preCompileOsRegMap() - Method in class cz.mallat.uasparser.SingleThreadedUASparser
Precompile OS regexes
preCompileOsRegMap() - Method in class cz.mallat.uasparser.UASparser
Precompile OS regexes
preCompileRegExes() - Method in class cz.mallat.uasparser.BrowserFamilyParser
 
preCompileRegExes() - Method in class cz.mallat.uasparser.UASparser
Precompile all regular regexes
processBrowserRegex(String, UserAgentInfo) - Method in class cz.mallat.uasparser.SingleThreadedUASparser
Searchs in the browser regex table.
processBrowserRegex(String, UserAgentInfo) - Method in class cz.mallat.uasparser.UASparser
Searchs in the browser regex table.
processDeviceRegex(String, UserAgentInfo) - Method in class cz.mallat.uasparser.SingleThreadedUASparser
Searches in the devices regex table.
processDeviceRegex(String, UserAgentInfo) - Method in class cz.mallat.uasparser.UASparser
Searches in the devices regex table.
processOsRegex(String, UserAgentInfo) - Method in class cz.mallat.uasparser.SingleThreadedUASparser
Searches in the os regex table.
processOsRegex(String, UserAgentInfo) - Method in class cz.mallat.uasparser.UASparser
Searches in the os regex table.
processRobot(String, UserAgentInfo) - Method in class cz.mallat.uasparser.UASparser
Checks if the User Agent matches that of a known Robot (crawler or other automated agent)
PROPERTIES_FILENAME - Static variable in class cz.mallat.uasparser.OnlineUpdater
 
propsFile - Variable in class cz.mallat.uasparser.OnlineUpdater
 

R

robotsMap - Variable in class cz.mallat.uasparser.UASparser
 
run() - Method in class cz.mallat.uasparser.OnlineUpdater
Update loop

S

Section - Class in cz.mallat.uasparser.fileparser
JavaBean that holds a section from a parsed file.
Section(String) - Constructor for class cz.mallat.uasparser.fileparser.Section
 
setBrowserEntry(BrowserEntry) - Method in class cz.mallat.uasparser.UserAgentInfo
 
setBrowserVersionInfo(String) - Method in class cz.mallat.uasparser.UserAgentInfo
 
setData(List<String>) - Method in class cz.mallat.uasparser.fileparser.Entry
 
setDeviceEntry(DeviceEntry) - Method in class cz.mallat.uasparser.UserAgentInfo
 
setEntries(List<Entry>) - Method in class cz.mallat.uasparser.fileparser.Section
 
setKey(String) - Method in class cz.mallat.uasparser.fileparser.Entry
 
setName(String) - Method in class cz.mallat.uasparser.fileparser.Section
 
setOsEntry(OsEntry) - Method in class cz.mallat.uasparser.UserAgentInfo
 
setRobotEntry(RobotEntry) - Method in class cz.mallat.uasparser.UserAgentInfo
 
setType(String) - Method in class cz.mallat.uasparser.UserAgentInfo
 
SingleThreadedUASparser - Class in cz.mallat.uasparser
This parser implementation is not thread-safe as it re-uses Matcher objects instead of creating them on each call to parse() for a modest speedup.
SingleThreadedUASparser(InputStream) - Constructor for class cz.mallat.uasparser.SingleThreadedUASparser
 
SingleThreadedUASparser(String) - Constructor for class cz.mallat.uasparser.SingleThreadedUASparser
 

T

toString() - Method in class cz.mallat.uasparser.UserAgentInfo
 

U

UASparser - Class in cz.mallat.uasparser
User agent parser.
UASparser() - Constructor for class cz.mallat.uasparser.UASparser
Create a new UASparser without initializing maps.
UASparser(String) - Constructor for class cz.mallat.uasparser.UASparser
Use the given filename to load the definition file from the local filesystem
UASparser(InputStream) - Constructor for class cz.mallat.uasparser.UASparser
Use the given inputstream to load the definition file from the local filesystem
UNKNOWN - Static variable in class cz.mallat.uasparser.BrowserFamilyParser
 
UNKNOWN - Static variable in class cz.mallat.uasparser.UserAgentInfo
 
unknownAgentInfo - Variable in class cz.mallat.uasparser.UASparser
 
update() - Method in class cz.mallat.uasparser.OnlineUpdater
Fetch latest UA file if a newer one is available
UPDATE_INTERVAL - Static variable in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
 
updateInterval - Variable in class cz.mallat.uasparser.OnlineUpdater
 
UserAgentInfo - Class in cz.mallat.uasparser
Encapsulates all information pertaining to a User Agent.
UserAgentInfo() - Constructor for class cz.mallat.uasparser.UserAgentInfo
 

V

VERSION_CHECK_URL - Static variable in class cz.mallat.uasparser.OnlineUpdater
 
VERSION_CHECK_URL - Static variable in class cz.mallat.uasparser.OnlineUpdateUASparser
Deprecated.
 
B C D E G H I L M O P R S T U V