Class UserAgentAnalyzerTester
java.lang.Object
nl.basjes.parse.useragent.AbstractUserAgentAnalyzerDirect
nl.basjes.parse.useragent.AbstractUserAgentAnalyzer
nl.basjes.parse.useragent.debug.UserAgentStringMatchMakerTester
nl.basjes.parse.useragent.debug.UserAgentAnalyzerTester
- All Implemented Interfaces:
Serializable, Analyzer, AnalyzerPreHeater, AnalyzerConfigHolder
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class UserAgentStringMatchMakerTester
UserAgentStringMatchMakerTester.AbstractUserAgentAnalyzerTesterBuilder<UAA,B>, UserAgentStringMatchMakerTester.KryoSerializer Nested classes/interfaces inherited from class AbstractUserAgentAnalyzer
AbstractUserAgentAnalyzer.AbstractUserAgentAnalyzerBuilder<UAA,B>, AbstractUserAgentAnalyzer.CacheInstantiator, AbstractUserAgentAnalyzer.ClientHintsCacheInstantiator<T> Nested classes/interfaces inherited from class AbstractUserAgentAnalyzerDirect
AbstractUserAgentAnalyzerDirect.AbstractUserAgentAnalyzerDirectBuilder<UAA,B>, AbstractUserAgentAnalyzerDirect.HeaderSpecification -
Field Summary
Fields inherited from class AbstractUserAgentAnalyzer
cacheSize, DEFAULT_PARSE_CACHE_SIZE, wasBuiltFields inherited from class AbstractUserAgentAnalyzerDirect
clientHintsAnalyzerFields inherited from interface AnalyzerPreHeater
MAX_PRE_HEAT_ITERATIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureKryo(Object kryoInstance) This is used to configure the provided Kryo instance if Kryo serialization is desired.Methods inherited from class UserAgentStringMatchMakerTester
analyzeMatcherImpactAllTests, createNewInstance, runTests, runTests, runTests, runTests, toStringMethods inherited from class AbstractUserAgentAnalyzer
clearCache, destroy, disableCaching, getCacheSize, getClientHintsCacheSize, parse, setCacheInstantiator, setCacheSize, setClientHintsCacheInstantiator, setClientHintsCacheSizeMethods inherited from class AbstractUserAgentAnalyzerDirect
cloneWithSharedAnalyzerConfig, configure, getAllMatchers, getAllPossibleFieldNames, getAllPossibleFieldNamesSorted, getAllSupportedHeaders, getConfig, getMatches, getMatchMaker, getPreheatTestCases, getTouchedMatchers, getUsedMatches, getWantedFieldNames, initializeMatchers, isSupportedClientHintHeader, isWantedField, loadResources, loadResources, parse, parse, reset, setVerbose, supportedClientHintHeadersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AnalyzerConfigHolder
dropTests, getLookups, getLookupSets, getTestCases, getUserAgentMaxLengthMethods inherited from interface AnalyzerPreHeater
internalGetTestCasesForPreheat, preHeat, preHeat, preHeat, preHeat
-
Constructor Details
-
UserAgentAnalyzerTester
public UserAgentAnalyzerTester()
-
-
Method Details
-
newBuilder
-
configureKryo
This is used to configure the provided Kryo instance if Kryo serialization is desired. The expected type here is Object because otherwise the Kryo library becomes a mandatory dependency on any project that uses Yauaa.- Parameters:
kryoInstance- The instance of com.esotericsoftware.kryo.Kryo that needs to be configured.
-