Class EvilManualUseragentStringHacks

java.lang.Object
nl.basjes.parse.useragent.parse.EvilManualUseragentStringHacks

public final class EvilManualUseragentStringHacks extends Object
  • Method Details

    • fixIt

      public static String fixIt(UserAgent.MutableUserAgent mutableUserAgent)
      There are a few situations where in order to parse the useragent we need to 'fix it'. Yes, all of this is pure evil but we "have to".
      Parameters:
      mutableUserAgent - The raw useragent instance
      Returns:
      Cleaned useragent string