Interface NameFilter


public interface NameFilter
Service for filtering an arbitrary string into a Sling-compatible Resource name.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    filter(@NotNull String name)
    Filter the provided name.
  • Method Details

    • filter

      @NotNull @NotNull String filter(@NotNull @NotNull String name)
      Filter the provided name.
      Parameters:
      name - a String name
      Returns:
      the Sling-compatible name