SKB Examples

Examples for the Java port of the SKB

License

License

GroupId

GroupId

de.vandermeer
ArtifactId

ArtifactId

skb.examples
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

SKB Examples
Examples for the Java port of the SKB
Project URL

Project URL

https://github.com/vdmeer/skb-java-examples
Source Code Management

Source Code Management

https://github.com/vdmeer/skb-java-examples

Download skb.examples

How to add to project

<!-- https://jarcasting.com/artifacts/de.vandermeer/skb.examples/ -->
<dependency>
    <groupId>de.vandermeer</groupId>
    <artifactId>skb.examples</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/de.vandermeer/skb.examples/
implementation 'de.vandermeer:skb.examples:0.0.3'
// https://jarcasting.com/artifacts/de.vandermeer/skb.examples/
implementation ("de.vandermeer:skb.examples:0.0.3")
'de.vandermeer:skb.examples:jar:0.0.3'
<dependency org="de.vandermeer" name="skb.examples" rev="0.0.3">
  <artifact name="skb.examples" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.vandermeer', module='skb.examples', version='0.0.3')
)
libraryDependencies += "de.vandermeer" % "skb.examples" % "0.0.3"
[de.vandermeer/skb.examples "0.0.3"]

Dependencies

compile (3)

Group / Artifact Type Version
de.vandermeer : execs jar 0.0.3
de.vandermeer : asciitable jar 0.0.3
de.vandermeer : skb.base jar 0.0.3

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.0.3