-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #255: Switch to Quarkus Barcode ZXing
- Loading branch information
Showing
12 changed files
with
22 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
139 changes: 0 additions & 139 deletions
139
barcode/src/main/java/io/quarkiverse/renarde/barcode/Barcode.java
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteCode128Code.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteCode128Code extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteCode128Code() { | ||
super("code128", Barcode::code128Img); | ||
super("code128", ZebraCrossing::code128Img); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteCode39Code.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteCode39Code extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteCode39Code() { | ||
super("code39", Barcode::code39Img); | ||
super("code39", ZebraCrossing::code39Img); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteCode93Code.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteCode93Code extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteCode93Code() { | ||
super("code93", Barcode::code93Img); | ||
super("code93", ZebraCrossing::code93Img); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteDataMatrix.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteDataMatrix extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteDataMatrix() { | ||
super("datamatrix", Barcode::dataMatrixImg); | ||
super("datamatrix", ZebraCrossing::dataMatrixImg); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteEan13Code.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteEan13Code extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteEan13Code() { | ||
super("ean13", Barcode::ean13Img); | ||
super("ean13", ZebraCrossing::ean13Img); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteEan8Code.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteEan8Code extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteEan8Code() { | ||
super("ean8", Barcode::ean8Img); | ||
super("ean8", ZebraCrossing::ean8Img); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteQrCode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteQrCode extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteQrCode() { | ||
super("qrcode", Barcode::qrCodeImg); | ||
super("qrcode", ZebraCrossing::qrCodeImg); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteUpcACode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteUpcACode extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteUpcACode() { | ||
super("upca", Barcode::upcAImg); | ||
super("upca", ZebraCrossing::upcAImg); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
barcode/src/main/java/io/quarkiverse/renarde/barcode/runtime/QuteUpcECode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.quarkiverse.renarde.barcode.runtime; | ||
|
||
import io.quarkiverse.renarde.barcode.Barcode; | ||
import io.quarkiverse.barcode.zxing.ZebraCrossing; | ||
import io.quarkus.qute.EngineConfiguration; | ||
import io.quarkus.qute.SectionHelperFactory; | ||
|
||
@EngineConfiguration | ||
public class QuteUpcECode extends QuteBarCode implements SectionHelperFactory<QuteBarCode.CustomSectionHelper> { | ||
|
||
public QuteUpcECode() { | ||
super("upce", Barcode::upcEImg); | ||
super("upce", ZebraCrossing::upcEImg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters