Class QrService
- java.lang.Object
-
- com.netgrif.application.engine.business.qr.QrService
-
- All Implemented Interfaces:
IQrService
@Service public class QrService extends java.lang.Object implements IQrService
-
-
Constructor Summary
Constructors Constructor Description QrService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.io.File>
generateToFile(QrCode code)
java.util.Optional<java.io.InputStream>
generateToStream(QrCode code)
java.util.Optional<java.io.File>
generateWithLogo(QrCode code, java.io.InputStream imageStream)
-
-
-
Method Detail
-
generateToStream
public java.util.Optional<java.io.InputStream> generateToStream(QrCode code)
- Specified by:
generateToStream
in interfaceIQrService
-
generateToFile
public java.util.Optional<java.io.File> generateToFile(QrCode code)
- Specified by:
generateToFile
in interfaceIQrService
-
generateWithLogo
public java.util.Optional<java.io.File> generateWithLogo(QrCode code, java.io.InputStream imageStream)
- Specified by:
generateWithLogo
in interfaceIQrService
-
-