Skip to content
Arian Treffer edited this page Dec 22, 2013 · 11 revisions

cthul

Common Tools, Helpers, and Utils Library

For questions, also visit the forum/mailing list.

  • implements hamcrest.org matchers for
    • efficient matcher composition (improved DiagnosingMatcher)
    • logical chaining (and, or, xor)
    • string regex matching
    • exceptions
      • introduces a simple lambda-like mechanism to easily test code snippets or methods
  • String conversions
    • int <-> roman numbers
    • int <-> alpha index (Excel columns)
    • Java identifier formats (camelCase, underscores)
    • Plural <-> singular
      • Implemented for english, help for other languages welcome
  • extensible Formatter
    • like java.util.Formatter, but allows to add custom formats
    • Conversions listed above are available as formats by default
  • extensible FormatParser
    • parses an input string against a format string
    • extracts the argument values
    • proof-of-concept stage
  • Wrapper for slf4j Logger that allows to format the log message, using the strings formatter.
  • A schema resolver that can load xsd-schemas dynamically from various sources
  • Validating parsers for SAX and StAX
  • Useful algorithms for building APIs using reflection
  • a flexible and easy to use annotation based parser
Clone this wiki locally