geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1228708 - /geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UriSet.java
Date Sat, 07 Jan 2012 19:50:36 GMT
Author: dblevins
Date: Sat Jan  7 19:50:36 2012
New Revision: 1228708

URL: http://svn.apache.org/viewvc?rev=1228708&view=rev
Log:
add include(String)

Modified:
    geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UriSet.java

Modified: geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UriSet.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UriSet.java?rev=1228708&r1=1228707&r2=1228708&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UriSet.java (original)
+++ geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UriSet.java Sat
Jan  7 19:50:36 2012
@@ -53,6 +53,10 @@ public class UriSet implements Iterable<
         this.URIs = URIs;
     }
 
+    public UriSet include(String pattern) {
+        return filter(patterns(pattern));
+    }
+
     public UriSet include(UriSet URISet) {
         Map<String, URI> URIs = new HashMap<String, URI>(this.URIs);
         URIs.putAll(URISet.URIs);



Mime
View raw message