Class PathMatcher$

    • Field Detail

      • MODULE$

        public static final PathMatcher$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • PathMatcher$

        public PathMatcher$()
    • Method Detail

      • provide

        public <L> PathMatcher<L> provide​(L extractions,
                                          Tuple<L> evidence$17)
        Creates a PathMatcher that always matches, consumes nothing and extracts the given Tuple of values.
        Parameters:
        extractions - (undocumented)
        evidence$17 - (undocumented)
        Returns:
        (undocumented)
      • apply

        public <L> PathMatcher<L> apply​(Uri.Path prefix,
                                        L extractions,
                                        Tuple<L> evidence$18)
        Creates a PathMatcher that matches and consumes the given path prefix and extracts the given list of extractions. If the given prefix is empty the returned PathMatcher matches always and consumes nothing.
        Parameters:
        prefix - (undocumented)
        extractions - (undocumented)
        evidence$18 - (undocumented)
        Returns:
        (undocumented)
      • apply

        public <L> PathMatcher<L> apply​(PathMatcher<L> magnet)
        Provoke implicit conversions to PathMatcher to be applied
      • EmptyMatch

        public PathMatcher.Matched<scala.Tuple1<java.lang.String>> EmptyMatch()
        The empty match returned when a Regex matcher matches the empty path