Package liqp.filters

Class Absolute_Url


public class Absolute_Url extends Relative_Url
  • Field Details

  • Constructor Details

    • Absolute_Url

      public Absolute_Url()
  • Method Details

    • apply

      public Object apply(Object value, TemplateContext context, Object... params)
      Description copied from class: Filter
      Applies the filter on the 'value', with the given 'context'.
      Overrides:
      apply in class Relative_Url
      Parameters:
      value - the string value `AAA` in: `{{ 'AAA' | f:1,2,3 }}`
      context - the template context.
      params - the values [1, 2, 3] in: `{{ 'AAA' | f:1,2,3 }}`
      Returns:
      the result of the filter.
    • convertUnicodeURLToAscii

      public static String convertUnicodeURLToAscii(String url) throws URISyntaxException
      Throws:
      URISyntaxException