Package nl.basjes.parse.useragent
Class UserAgentAnalyzerDirect
java.lang.Object
nl.basjes.parse.useragent.AbstractUserAgentAnalyzerDirect
nl.basjes.parse.useragent.UserAgentAnalyzerDirect
- All Implemented Interfaces:
Serializable,Analyzer,AnalyzerPreHeater,AnalyzerConfigHolder
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class nl.basjes.parse.useragent.AbstractUserAgentAnalyzerDirect
AbstractUserAgentAnalyzerDirect.AbstractUserAgentAnalyzerDirectBuilder<UAA extends AbstractUserAgentAnalyzerDirect,B extends AbstractUserAgentAnalyzerDirect.AbstractUserAgentAnalyzerDirectBuilder<UAA, B>>, AbstractUserAgentAnalyzerDirect.HeaderSpecification, AbstractUserAgentAnalyzerDirect.KryoSerializer -
Field Summary
Fields inherited from class nl.basjes.parse.useragent.AbstractUserAgentAnalyzerDirect
clientHintsAnalyzerFields inherited from interface nl.basjes.parse.useragent.AnalyzerPreHeater
LOG, MAX_PRE_HEAT_ITERATIONS -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureKryo(Object kryoInstance) This is used to configure the provided Kryo instance if Kryo serialization is desired.protected <T extends AbstractUserAgentAnalyzerDirect>
TMethods inherited from class nl.basjes.parse.useragent.AbstractUserAgentAnalyzerDirect
cloneWithSharedAnalyzerConfig, configure, destroy, getAllMatchers, getAllPossibleFieldNames, getAllPossibleFieldNamesSorted, getAllSupportedHeaders, getConfig, getMatches, getMatchMaker, getPreheatTestCases, getTouchedMatchers, getUsedMatches, getWantedFieldNames, initializeMatchers, isSupportedClientHintHeader, isWantedField, loadResources, loadResources, parse, parse, parse, reset, setVerbose, supportedClientHintHeaders, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nl.basjes.parse.useragent.config.AnalyzerConfigHolder
dropTests, getLookups, getLookupSets, getTestCases, getUserAgentMaxLengthMethods inherited from interface nl.basjes.parse.useragent.AnalyzerPreHeater
internalGetTestCasesForPreheat, preHeat, preHeat, preHeat, preHeat
-
Method Details
-
newBuilder
-
createNewInstance
- Specified by:
createNewInstancein classAbstractUserAgentAnalyzerDirect
-
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.
-