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.8
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.8</version>
</dependency>
// https://jarcasting.com/artifacts/de.vandermeer/skb-examples/
implementation 'de.vandermeer:skb-examples:0.0.8'
// https://jarcasting.com/artifacts/de.vandermeer/skb-examples/
implementation ("de.vandermeer:skb-examples:0.0.8")
'de.vandermeer:skb-examples:jar:0.0.8'
<dependency org="de.vandermeer" name="skb-examples" rev="0.0.8">
  <artifact name="skb-examples" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.vandermeer', module='skb-examples', version='0.0.8')
)
libraryDependencies += "de.vandermeer" % "skb-examples" % "0.0.8"
[de.vandermeer/skb-examples "0.0.8"]

Dependencies

compile (5)

Group / Artifact Type Version
de.vandermeer : execs jar 0.3.7
de.vandermeer : skb-base jar 0.2.0
de.vandermeer : asciilist jar 0.0.4
de.vandermeer : asciiparagraph jar 0.1.0
de.sven-jacobs : loremipsum jar 1.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

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.8
0.0.7
0.0.6
0.0.5
0.0.4