- GenerationConfig - Class in org.sw4j.tool.barcode.random.config
-
This class configures the generation and presentation.
- GenerationConfig(int, EncodingConfig, List<CodeConfig>, List<EncodingConfig>) - Constructor for class org.sw4j.tool.barcode.random.config.GenerationConfig
-
Create a new GenerationConfig
with the given random size (in bits) or source encoding, barcode formats
and additional representations.
- GenerationConfig.Builder - Class in org.sw4j.tool.barcode.random.config
-
This class is a Builder to build a
RandomConfig
programmatically.
- getCode() - Method in class org.sw4j.tool.barcode.random.input.Predefined
-
The code.
- getCodes() - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig
-
Return the configurations of the barcodes to create.
- getEncoded(EncodingConfig) - Method in interface org.sw4j.tool.barcode.random.generator.IdentValue
-
Return the value in the given encoding
.
- getEncoded(EncodingConfig) - Method in class org.sw4j.tool.barcode.random.generator.PredefinedIdent
-
Return the random number in the given encoding
.
- getEncoded(EncodingConfig) - Method in class org.sw4j.tool.barcode.random.generator.RandomIdent
-
Return the random number in the given encoding
.
- getEncoding() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the encoding of the random number in the barcode.
- getEncoding() - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig
-
Return the encoding of the predefined values.
- getEncodings() - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig
-
Return the configurations of the additional encoding of the random number to create.
- getErrorCorrection() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the error correction of the barcode.
- getFile() - Method in class org.sw4j.tool.barcode.random.config.OutputConfig
-
Return the output csv file.
- getFiletype() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the file type of the barcode.
- getFolder() - Method in class org.sw4j.tool.barcode.random.config.OutputConfig
-
Return the folder of the output files.
- getFormat() - Method in enum org.sw4j.tool.barcode.random.config.CodeType
-
Return the ZXing barcode format of the barcode (e.g.
- getHeight() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the height of the barcode.
- getIdent() - Method in interface org.sw4j.tool.barcode.random.generator.IdentValue
-
Return the ident number.
- getIdent() - Method in class org.sw4j.tool.barcode.random.generator.PredefinedIdent
-
Return the ident number.
- getIdent() - Method in class org.sw4j.tool.barcode.random.generator.RandomIdent
-
Return the ident number.
- getIdent() - Method in class org.sw4j.tool.barcode.random.input.Identifier
-
The identifiers value.
- getIdent() - Method in class org.sw4j.tool.barcode.random.input.Predefined
-
The identifiers value.
- getInput() - Method in interface org.sw4j.tool.barcode.random.codedata.CodeData
-
Returns an input stream for reading the source data.
- getInput() - Method in class org.sw4j.tool.barcode.random.codedata.FileCodeData
-
Create a new FileInputStream
for the input file given in the configuration.
- getInput() - Method in class org.sw4j.tool.barcode.random.config.Config
-
Return the input file configuration.
- getName() - Method in class org.sw4j.tool.barcode.random.config.FileConfig
-
The name of the file configured.
- getOutput() - Method in interface org.sw4j.tool.barcode.random.codedata.CodeData
-
Returns an output stream for writing the output csv data.
- getOutput() - Method in class org.sw4j.tool.barcode.random.codedata.FileCodeData
-
Create a new FileOutputStream
for writing the csv output file.
- getOutput() - Method in class org.sw4j.tool.barcode.random.config.Config
-
Return the output file(s) configuration.
- getOutputForIdent(CodeType, EncodingConfig, String, String) - Method in interface org.sw4j.tool.barcode.random.codedata.CodeData
-
Returns an individual output stream for writing the barcode for the given identifier and format.
- getOutputForIdent(CodeType, EncodingConfig, String, String) - Method in class org.sw4j.tool.barcode.random.codedata.FileCodeData
-
Create a new FileOutputStream
for writing a barcode.
- getPredefined() - Method in class org.sw4j.tool.barcode.random.config.Config
-
Return the predefined presentation configuration.
- getRandom() - Method in class org.sw4j.tool.barcode.random.config.Config
-
Return the random generation and presentation configuration.
- getSepChar() - Method in class org.sw4j.tool.barcode.random.config.EncodingConfig
-
- getSepCount() - Method in class org.sw4j.tool.barcode.random.config.EncodingConfig
-
- getSize() - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig
-
Return the size of the random number to be created.
- getType() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the type of the barcode (e.g.
- getType() - Method in enum org.sw4j.tool.barcode.random.config.CodeType
-
Return the type of the barcode (e.g.
- getType() - Method in class org.sw4j.tool.barcode.random.config.EncodingConfig
-
- getUrl() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the URL (or text) of the barcode with the placeholder {code}
replaced by the encoded random
number.
- getValue() - Method in interface org.sw4j.tool.barcode.random.generator.IdentValue
-
Return the raw value.
- getValue() - Method in class org.sw4j.tool.barcode.random.generator.PredefinedIdent
-
Return the raw random number generated.
- getValue() - Method in class org.sw4j.tool.barcode.random.generator.RandomIdent
-
Return the raw random number generated.
- getWidth() - Method in class org.sw4j.tool.barcode.random.config.CodeConfig
-
Return the width of the barcode.
- setCodes(List<CodeConfig>) - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig.Builder
-
Set the configurations of the barcodes generated.
- setEncoding(EncodingConfig) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the encoding of the random number in the barcode.
- setEncoding(EncodingConfig) - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig.Builder
-
Set the encoding of the predefined values.
- setEncodings(List<EncodingConfig>) - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig.Builder
-
Set the configurations of the additional encodings generated.
- setErrorCorrection(String) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the error correction of the barcode.
- setFile(FileConfig) - Method in class org.sw4j.tool.barcode.random.config.OutputConfig.Builder
-
Set the file of the output csv file.
- setFiletype(String) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the file type of the barcode.
- setFolder(String) - Method in class org.sw4j.tool.barcode.random.config.OutputConfig.Builder
-
Set the folder of the output files.
- setHeight(int) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the height of the barcode.
- setInput(FileConfig) - Method in class org.sw4j.tool.barcode.random.config.Config.Builder
-
Set the input file configuration.
- setName(String) - Method in class org.sw4j.tool.barcode.random.config.FileConfig.Builder
-
Set the name of the file.
- setOutput(OutputConfig) - Method in class org.sw4j.tool.barcode.random.config.Config.Builder
-
Set the output file(s) configuration.
- setRandom(GenerationConfig) - Method in class org.sw4j.tool.barcode.random.config.Config.Builder
-
Set the random generation and presentation configuration.
- setSepChar(Character) - Method in class org.sw4j.tool.barcode.random.config.EncodingConfig.Builder
-
- setSepCount(Integer) - Method in class org.sw4j.tool.barcode.random.config.EncodingConfig.Builder
-
- setSize(int) - Method in class org.sw4j.tool.barcode.random.config.GenerationConfig.Builder
-
Set the size (in bits) of the random number generator.
- setType(String) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the type of the barcode.
- setType(String) - Method in class org.sw4j.tool.barcode.random.config.EncodingConfig.Builder
-
- setUrl(String) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the URL (or text) of the barcode.
- setWidth(int) - Method in class org.sw4j.tool.barcode.random.config.CodeConfig.Builder
-
Set the width of the barcode.
- supports(String) - Method in class org.sw4j.tool.barcode.random.decoder.ByteArrayDecoder
-
For concrete decoders this method should return true
if the given encoding is supported.
- supports(String) - Method in class org.sw4j.tool.barcode.random.decoder.impl.Base58Decoder
-
Return true
if the encoding
is base58 (case insensitive).
- supports(String) - Method in class org.sw4j.tool.barcode.random.decoder.impl.Base64Decoder
-
Return true
if the encoding
is base64 (case insensitive).
- supports(String) - Method in class org.sw4j.tool.barcode.random.decoder.impl.HexDecoder
-
Return true
if the encoding
is hex (case insensitive).
- supports(String) - Method in class org.sw4j.tool.barcode.random.encoder.ByteArrayEncoder
-
For concrete encoders this method should return true
if the given encoding is supported.
- supports(String) - Method in class org.sw4j.tool.barcode.random.encoder.impl.Base58Encoder
-
Return true
if the encoding
is base58 (case insensitive).
- supports(String) - Method in class org.sw4j.tool.barcode.random.encoder.impl.Base64Encoder
-
Return true
if the encoding
is base64 (case insensitive).
- supports(String) - Method in class org.sw4j.tool.barcode.random.encoder.impl.HexEncoder
-
Return true
if the encoding
is hex (case insensitive).