Retrieve a set of Source items from this pattern. @throws IOException if something goes wrong while loading file contents.
()
| 242 | * @throws IOException if something goes wrong while loading file contents. |
| 243 | */ |
| 244 | public final List<Source> collect() { |
| 245 | final List<Source> list = new ArrayList<>(); |
| 246 | load(list::add); |
| 247 | return list; |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * Load a set of {@link Source} items from this pattern. |