Skip to content
Stephane Carrez edited this page Jan 17, 2015 · 2 revisions

Ada Util is a collection of utility packages for Ada 2005. Several packages are inspired from Java packages and libraries (Java properties, log4j, listeners, streams, ...)

  • Util.Measures performs performance measurement of Ada code
  • Several concurrency tools (reference counters, Concurrent Arrays, pools, fifos),
  • Util.Log implements a simple logging facility close to Log4j
  • Util.Properties allows to manage name/value properties such as Java property and Java bundle files
  • Util.Strings.Transforms defines various string transformations functions and procedures
  • Util.Streams implements a Java-like stream composing framework (raw, files, buffered, pipes)
  • Util.Streams.Pipes and process launch are supported on Unix and Windows platforms.
  • Util.Serialize provides a framework to serialize a CSV, JSON or an XML content directly into some Ada records.
  • Util.Encoders defines a generic framework to encode and decode streams in various encoding formats (BASE16, BASE64, SHA1, HMAC-SHA1).
  • Util.Beans brings an Ada Bean framework with mechanisms inspired from the Java Beans.
  • Util.Listeners implements a multi-task safe listener and observer design pattern using generic packages
  • Util.Http package defines a portable HTTP API on top of AWS or Curl.

Ada Util also provides a XUnit test utility library that helps in writing Ada unit tests on top of both Aunit and Ahven. The Ahven framework is included in Ada Util sources. The Aunit framework must be downloaded separately.

Clone this wiki locally