com.github.roroche.eoplantumlbuilder.urls.MergedUrls.kt Maven / Gradle / Ivy
package com.github.roroche.eoplantumlbuilder.urls
import java.net.URL
/**
* Utility class to merge Urls.
*
* @property urls The list of Urls to be merged.
*/
class MergedUrls(
private val urls: List
) : Urls {
/**
* @return The list of merged URL.
*/
override fun list(): List {
return urls.flatMap {
it.list()
}
}
}