public abstract class AbstractBarcodeGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BROKEN
The Constant BROKEN.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBarcodeGenerator()
Instantiates a new abstract barcode generator.
|
| Modifier and Type | Method and Description |
|---|---|
protected DataInputStream |
createBarcode(String text) |
protected boolean |
createBarcodeMedia(String name,
String text) |
boolean |
generateBarcode()
Generate barcode.
|
protected abstract String |
getBarcodeUrl()
Gets the barcode url.
|
Integer |
getHeight() |
protected MediaFolder |
getMediaFolder()
Gets the media folder.
|
protected MediaFormat |
getMediaFormat()
Gets the media format.
|
String |
getUrl()
Gets the url.
|
Integer |
getWidth() |
boolean |
isProcessed()
Checks if is processed.
|
protected abstract String |
mediaName()
Name.
|
protected String |
name(String code)
Name.
|
boolean |
regenerateBarcode()
forces regeneration of the barcodemedia
If it does not exists, creates it again
|
protected static final String BROKEN
protected AbstractBarcodeGenerator()
protected abstract String mediaName()
protected abstract String getBarcodeUrl()
public boolean isProcessed()
public String getUrl()
public boolean generateBarcode()
public boolean regenerateBarcode()
protected DataInputStream createBarcode(String text)
protected MediaFolder getMediaFolder()
protected MediaFormat getMediaFormat()
public Integer getWidth()
public Integer getHeight()
Copyright © 2017 SAP SE. All Rights Reserved.