Skip to content

Project Utils - JUtils v1.0.0

Latest

Choose a tag to compare

@Xibitol Xibitol released this 09 May 09:28
· 1 commit to master since this release
1.0.0
83631ca

Project Utils - Java Utils v1.0.0, utility modules and libraries for java, provided by Project Utils.

Everything available in Image Dispatcher Library, upgraded and refactored.

Features:

  • base: Some utilities;
    • Exceptions structure for internal errors, which should never happen outside of development;
    • #2: An upgraded runnable to catch all exceptions and so to help doing safe multi-threading;
    • Three static classes giving functional methods, a resource path builder and class/object reflection stringifier;
    • An extension of SocketTimeoutException saving in addition excepted bytes and delay.
  • config: A config library with a system config derived from system properties already configured and an implementation of Project Utils versioning;
  • i18n: An internationalization library inspired from ResourceBundle;
  • logger: A logger API following Pimous Conventions with an adapter to JUL (JDK14) including a colored formatter;
  • app: An application framework reusing every other modules, including:
    • An application configuration defining its identifier, name, description, version, author and license.
    • A parametrized root JUL logger with a custom system handler based on "hasGUI" boolean and a file handler;
    • A directories locator giving either Linux or local paths to app directories (Based on system config);
    • A protected scheduled executor for multi-threading;
    • A three steps life-cycle: Construction, Loading and Running;
    • Loading messages localized in English and French.