See: Description
| Class | Description |
|---|---|
| ByteArrayEncoder |
This class is an interface for new Encoders (e.g.
|
This package is the base for a pluggable encoder architecture.
This architecture uses the Java ServiceLoader to load additional encoders.
To add a new encoder extend the abstract class ByteArrayEncoder and add
a file named org.sw4j.tool.barcode.random.encoder.ByteArrayEncoder in your META-INF/services folder
with your fully qualified classname as content.
In your class you have to override the methods
ByteArrayEncoder#supports(String) and
ByteArrayEncoder#encode(byte[]) to add
a new encoder which then can be referenced by the config.
Copyright © 2020 sw4j.org. All rights reserved.