パッケージ org.springframework.util
クラス AntPathMatcher.AntPathStringMatcher
java.lang.ObjectSE
org.springframework.util.AntPathMatcher.AntPathStringMatcher
- 含まれているクラス:
- AntPathMatcher
文字列が
PatternSE を介してパターンと一致するかどうかをテストします。 パターンには特殊文字を含めることができます。"*" は 0 個以上の文字を意味します。'?' 1 文字のみを意味します。"{" と "}" は URI テンプレートパターンを示します。たとえば、/users/{user}。
コンストラクターの概要
コンストラクターコンストラクター説明AntPathStringMatcher(StringSE pattern) AntPathStringMatcher(StringSE pattern, boolean caseSensitive) 方法の概要
修飾子と型メソッド説明booleanmatchStrings(StringSE str, MapSE<StringSE, StringSE> uriTemplateVariables) メインエントリポイント。
コンストラクターの詳細
AntPathStringMatcher
AntPathStringMatcher
メソッドの詳細
matchStrings
メインエントリポイント。- 戻り値:
- 文字列がパターンと一致する場合は
true、そうでない場合はfalse。