Skip to content

m-m-m/base

Repository files navigation

logo

Apache License, Version 2.0 Build Status

mmm-base

Maven Central base JavaDoc

The module io.github.mmm.base (artifactId mmm-base) provides a minimal set of APIs and utils for general purpose usage.

Features

This library offers the following features:

  • ApplicationException for exceptions with UUID, code, and distinction between user and technical errors.

  • CharFilter interface and implementations

  • Justification to justify strings

  • Placements such as Alignment, Direction, Orientation, etc.

  • Converter and parser for Temporal values

  • CompareOperator to compate strings, numbers, temporals, or any other comparable object

  • CaseHelper to deal with lower/upper case

  • etc.

Usage

Maven Dependency:

<dependency>
  <groupId>io.github.m-m-m</groupId>
  <artifactId>mmm-base</artifactId>
  <version>${mmm.base.version}</version>
</dependency>

Module Dependency:

  requires transitive io.github.mmm.base;

mmm-base-metainfo

Maven Central base JavaDoc

The module io.github.mmm.base.metainfo (artifactId mmm-base-metainfo) provides a minimal set of APIs for dealing with meta-information.

Features

This library offers the following features:

  • MetaInfo interface to instantiate and access meta-information.

  • MetaInfos to annotate meta-information.

Usage

Maven Dependency:

<dependency>
  <groupId>io.github.m-m-m</groupId>
  <artifactId>mmm-base-metainfo</artifactId>
  <version>${mmm.base.version}</version>
</dependency>

Module Dependency:

  requires transitive io.github.mmm.base.metainfo;

mmm-base-placement

Maven Central base JavaDoc

The module io.github.mmm.base.placement (artifactId mmm-base-placement) provides a enums for placement.

Features

This library offers the following enums:

  • Alignment for 2-D alignments.

  • Direction for 2-D direction.

  • HorizontalAlignment for horizontal alignment (1-D).

  • Orientation with HORIZONTAL and VERTICAL.

  • VerticalAlignment for vertical alignment (1-D).

Usage

Maven Dependency:

<dependency>
  <groupId>io.github.m-m-m</groupId>
  <artifactId>mmm-base-placement</artifactId>
  <version>${mmm.base.version}</version>
</dependency>

Module Dependency:

  requires transitive io.github.mmm.base.placement;