Software Alternatives & Reviews

How to improve third-party libraries with Kotlin extensions

Apache James Kotest
  1. Apache James is a pure Java SMTP, POP3 enterprise mail server.
    Pricing:
    • Open Source
    While looking for a good solution to extract the HTML and text parts, I came across the following code hidden in the Apache James mail server: It has a 160-line class called MessageContentExtractor to extract the content as well as a 50-line inner static class called MessageContent, which is used to hold the data.

    #Web And Application Servers #Application Server #Java 4 social mentions

  2. 2
    Powerful, elegant and flexible test framework for Kotlin - kotest/kotest
    The extensions are not particularly useful in this scenario because the described functionality can be incorporated into the Host class. On the other hand, they flourish in test frameworks like Kotest and enable the rapid development of useful add-ons like custom matchers. Extending third-party libraries with utility functions is another prevalent use case. In the next sections, we'll zero in on this specific aspect.

    #Dev Ops #Build, Test, Deploy #Testing Frameworks 2 social mentions

Discuss: How to improve third-party libraries with Kotlin extensions

Log in or Post with