Class FileNamePattern

    • Constructor Detail

      • FileNamePattern

        public FileNamePattern​(String pattern)
    • Method Detail

      • match

        public boolean match​(String text)
      • indexOf

        public static int indexOf​(char[] chars,
                                  char[] pattern,
                                  int offset)
        Variant of indexOf with ? wildcard.
      • containsAt

        public static boolean containsAt​(char[] array,
                                         int offset,
                                         char[] pattern)
        Tests whether the given array match the pattern at the given position. Matching allows ? wildcards.