Project icon

com.io7m.jpita

Build status Maven Central Codecov

The jpita package implements a set of simple algorithms for aligning and justifying plain text.

    Pellentesque   mauris  lectus,  facilisis  at  rhoncus  non,
    efficitur  at  lorem.  Nulla  nisl  elit,  gravida ultricies
    magna  ac,  molestie  gravida  ipsum.  Pellentesque sagittis
    dapibus  tellus  vel  dictum. Donec ullamcorper mattis purus
    in  molestie.  Aenean  vel diam imperdiet, interdum eros in,
    rhoncus  ipsum.  Donec  sit  amet  convallis  tellus.  Morbi
    gravida  arcu  quis nisl fermentum, sed dapibus dui aliquet.
    Sed  congue,  nibh  sit  amet  ultrices  rutrum,  nisi  nunc
    posuere   quam,   at   ullamcorper   eros  metus  eu  lorem.
  
    Pellentesque mauris lectus, facilisis at rhoncus non,
    efficitur at lorem. Nulla nisl elit, gravida ultricies
    magna ac, molestie gravida ipsum. Pellentesque sagittis
    dapibus tellus vel dictum. Donec ullamcorper mattis purus
    in molestie. Aenean vel diam imperdiet, interdum eros in,
    rhoncus ipsum. Donec sit amet convallis tellus. Morbi
    gravida arcu quis nisl fermentum, sed dapibus dui aliquet.
    Sed congue, nibh sit amet ultrices rutrum, nisi nunc
    posuere quam, at ullamcorper eros metus eu lorem.
  

Contents

Features

  • Full justification (flush left, flush right).
  • Left alignment (flush left, ragged right).
  • Full unit test coverage (100.0%).
  • OSGi-ready.
  • JPMS-ready
  • ISC license.

Releases

The most recently published version of the software is 2.0.0.

Source code and binaries are available from the repository.

Documentation

Documentation for the 2.0.0 release is available for reading online.

Documentation for current and older releases is archived in the repository.

User documentation

Maven

The following is a complete list of the project's modules expressed as Maven dependencies:

<dependency>
  <groupId>com.io7m.jpita</groupId>
  <artifactId>com.io7m.jpita</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jpita</groupId>
  <artifactId>com.io7m.jpita.core</artifactId>
  <version>2.0.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jpita</groupId>
  <artifactId>com.io7m.jpita.documentation</artifactId>
  <version>2.0.0</version>
</dependency>

Each release of the project is made available on Maven Central within ten minutes of the release announcement.

Changes

Subscribe to the releases atom feed.

2022-04-10 Release: com.io7m.jpita 2.0.0
2022-04-10 Change: (Backwards incompatible) Require JDK 17
2017-12-08 Release: com.io7m.jpita 1.0.0
2017-12-08 Change: (Backwards incompatible) Publish JDK 9 modules, require JDK 9 to build and run
2017-12-08 Change: (Backwards incompatible) Remove jnull and jfunctional dependencies
2017-04-16 Release: com.io7m.jpita 0.3.0
2017-04-16 Change: Rename project. Use the new primogenitor POM and 2017 project conventions.
2017-04-16 Change: (Backwards incompatible) Use jaffirm instead of valid4j and the latest versions of core io7m libraries.
2016-07-31 Release: com.io7m.jpita 0.2.1
2016-07-30 Change: Do not let too-long words break empty lines. (tickets: 2 )
2016-07-26 Release: com.io7m.jpita 0.2.0
2016-07-26 Change: Add the ability to manually break lines. (tickets: 1 )
2016-05-29 Release: com.io7m.jpita 0.1.0
2016-05-29 Change: Initial release.

Sources

This project uses Git to manage source code.

Repository: https://github.com/io7m/jpita

$ git clone https://github.com/io7m/jpita

License

Copyright © 2022 Mark Raynsford <code@io7m.com> https://www.io7m.com

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Bug Tracker

The project uses GitHub Issues to track issues.