You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #11092 - Allow MetaInfConfiguration parsing of java.class.path to support globs (#12287)
* Issue #11092 - Allow MetaInfConfiguration parsing of java.class.path to support globs
* Work with unwrapped URIs for uriPredicate (and test assertion)
* Split a string of references, that may be split with '{@code ,}', or '{@code ;}', or '{@code |}' into URIs.
450
+
* Split a string of references, that may be split with '{@code ,}', or '{@code ;}', or '{@code |}' into a List of {@link Resource}.
451
451
* <p>
452
-
* Each part of the input string could be path references (unix or windows style), or string URI references.
452
+
* Each part of the input string could be path references (unix or windows style), string URI references, or even glob references (eg: {@code /path/to/libs/*}).
453
453
* </p>
454
454
* <p>
455
455
* If the result of processing the input segment is a java archive, then its resulting URI will be a mountable URI as {@code jar:file:...!/}
456
456
* </p>
457
457
*
458
458
* @param str the input string of references
459
+
* @return list of resources
459
460
*/
460
461
defaultList<Resource> split(Stringstr)
462
+
{
463
+
returnsplit(str, ",;|");
464
+
}
465
+
466
+
/**
467
+
* Split a string of references by provided delims into a List of {@link Resource}.
468
+
* <p>
469
+
* Each part of the input string could be path references (unix or windows style), string URI references, or even glob references (eg: {@code /path/to/libs/*}).
470
+
* Note: that if you use the {@code :} character in your delims, then URI references will be impossible.
471
+
* </p>
472
+
* <p>
473
+
* If the result of processing the input segment is a java archive, then its resulting URI will be a mountable URI as {@code jar:file:...!/}
0 commit comments