CsvRendererURL
Provides an implicit instance of StandardCsvRenderer for the type java.net.URL.
This object is used to render URL instances into their CSV (Comma-Separated Values) string representation. It extends the StandardCsvRenderer class, leveraging its default implementation for converting objects into a string format. Specifically, for URL instances, the toString method of the URL is used as the rendered string by default, unless overridden.
The renderer is intended for scenarios where URL objects need to be serialized or exported in CSV format, commonly for data processing or storage purposes.
Example usage:
val url: URL = new URL("https://example.com")
val renderedCsv: String = summon[StandardCsvRenderer[URL]].render(url, Map())
// renderedCsv would contain "https://example.com"
This implicit object allows seamless usage of URL type rendering in contexts where StandardCsvRenderer is required, such as within collections or for pipeline-based CSV serialization.
Attributes
- Graph
-
- Supertypes
- Self type
-
CsvRendererURL.type