/skb-java-examples

Examples for the skb-java sub projects.

Primary LanguageJavaApache License 2.0Apache-2.0

SKB Java Examples

A few examples on how to use several packages of the SKB-JAVA port. Most examples will run from command line using the Skb_Executable interface and the Skb_Exec service.

execs.Service1

A simple service implementing the Skb_Executable interface. It just prints a line and returns.

execs.Service2

A simple service implementing the Skb_Executable interface. It can be called with different command line options for printing text in several languages, then it will exit.

ConsoleTable

Implements the Skb_Executable interface with several options. Each option prints two ASCII tables using the skb-asciitable package in a particular format. This example shows how to use several command line options with the Skb_Exec service and how to use the SKB ASCII table.

This example requires full UTF-8 support (compile, execute, console). For details on how to get the UTF-8 characters printed properly in several environments please see blog and SKB Wiki

Messages

Prints a pre-defined message as Message5WH object using the default StringTemplate and a custom StringTemplate.