Skip to content
derari edited this page May 3, 2012 · 11 revisions

cthul

Commons, Tools, Helpers and Utils Library

Collection of miscellaneous code:

  • 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
  • a flexible and easy to use annotation based parser
  • 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
  • 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
Clone this wiki locally