"

Svjatoslav Commons - Java library of commonly used functions


1 General

Library contains:

  • Commandline Interface helper
  • Commandline arguments parser and validator.
  • Bit input and output streams.
  • Slightly enhanced data input and output streams.
  • Byte array to HEX string converter.
  • Utility that tries to quess user desktop directory.
  • File path parser.
  • File IO helper.
  • Graphical error dialog.
    • Reusable graphical dialog to capture and show program exceptions and associated program call stack traceback.
  • Primitive and simple component to add navigation menus to the web sites.
  • String tokenizer.
  • Improved String, optimized for dealing with prefixes and suffixes.
  • Wildcards matcher. (?, *)

2 Usage

Instructions to embed svjatoslav-commons in your project as a library:

Maven pom.xml file snippet:

<dependencies>
    ...
    <dependency>
        <groupId>eu.svjatoslav</groupId>
        <artifactId>svjatoslavcommons</artifactId>
        <version>1.5</version>
    </dependency>
    ...
</dependencies>


<repositories>
    ...
    <repository>
        <id>svjatoslav.eu</id>
        <name>Svjatoslav repository</name>
        <url>http://www2.svjatoslav.eu/maven/</url>
    </repository>
    ...
</repositories>