Class FragmentMatcher


  • public final class FragmentMatcher
    extends java.lang.Object
    This utility class allows to match strings against a simple pattern language. There are two special characters:
    • * - matches zero or more any characters different than slash
    • $ - matches the end of the subject
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FragmentMatcher.Result  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FragmentMatcher.Result startsWith​(java.lang.String pattern, java.lang.String subject)
      Check if the subject starts with the pattern.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait