/string-utils

String/CSV utilities

Primary LanguageScalaApache License 2.0Apache-2.0

strings

Maven Central

String/CSV utilities:

  • org.hammerlab.strings.TruncatedToString: interface for classes that can render themselves as an Iterator[String] to display a .toString() with a maximum number of characters.
  • org.hammerlab.csv:
    • convert case classes (really Products) to CSV rows.
    • convert collections of Products to a CSV, optionally including a header line.