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