Initialise this resource, and return it.
()
| 324 | |
| 325 | /** Initialise this resource, and return it. */ |
| 326 | @Override |
| 327 | public Resource init() { |
| 328 | if(documentsList != null && !documentsList.isEmpty()) { |
| 329 | addAll(documentsList); |
| 330 | } |
| 331 | return this; |
| 332 | } // init() |
| 333 | |
| 334 | /** |
| 335 | * Fills the provided corpus with documents created on the fly from |