Svjatoslav Commons - Java library of commonly used functions

Table of Contents

1. General

1.1. Source code

2. Library contents

  • See JavaDoc.
  • Bit input and output streams.

    eu.svjatoslav.commons.data.BitInputStream
    eu.svjatoslav.commons.data.BitOutputStream
    
  • Slightly enhanced data input and output streams.

    eu.svjatoslav.commons.data.EnhancedDataInputStream
    eu.svjatoslav.commons.data.EnhancedDataOutputStream
    
  • Byte array to HEX string converter.

    eu.svjatoslav.commons.data.HexConverter
    
  • Utility that tries to quess user desktop directory. (Quite ugly and unreliable. Better solution is needed.)

    eu.svjatoslav.commons.file.CommonPathResolver
    
  • File path parser.

    eu.svjatoslav.commons.file.FilePathParser
    
  • File IO helper.

    eu.svjatoslav.commons.file.IOHelper
    
  • Graphical error dialog.
    • Reusable graphical dialog to capture and show program exceptions and associated program call stack traceback.

      eu.svjatoslav.commons.gui.dialog.ExceptionDialog
      
  • Primitive and simple component to add navigation menus to the web sites.

    eu.svjatoslav.commons.network.navigation
    
  • String tokenizer.

    eu.svjatoslav.commons.string.tokenizer
    
  • Improved String, optimized for dealing with prefixes and suffixes.

    eu.svjatoslav.commons.string.String2
    
  • Wildcards matcher. (?, *)

    eu.svjatoslav.commons.string.WildCardMatcher#match
    

3. 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.9</version>
    </dependency>
    ...
</dependencies>


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

Author: Svjatoslav Agejenko

Created: 2023-06-11 Sun 21:23

Validate