Class URLCleanser

java.lang.Object
com.helger.io.url.URLCleanser

@ThreadSafe public final class URLCleanser extends Object
URL cleanser.
Author:
Philip Helger
  • Method Details

    • getCleanURLPartWithoutUmlauts

      public static @Nullable String getCleanURLPartWithoutUmlauts(@Nullable String sURLPart)
      Clean an URL part from nasty Umlauts. This mapping needs extension!
      Parameters:
      sURLPart - The original URL part. May be null.
      Returns:
      The cleaned version or null if the input was null.