Translate the given String
into a int []
representing the pattern matchable by this class.
This function translates a String
into an int array converting the special '*' and '\' characters.
Here is how the conversion algorithm works:
When more than two '*' characters, not separated by another character, are found their value is considered as '**' (MATCH_PATH).
The array is always terminated by a special value (MATCH_END).
All MATCH* values are less than zero, while normal characters are equal or greater.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|