Re: output to BMP possible?
Jeremias Maerki <[email protected]> Thu, 20 Nov 2003 11:56:33 +0100
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <[email protected]> |
You definitely don't need to substitute any more libs, but I can't tell
from here what's going wrong with that Configuration object the returns
null für getName(). If you do a System.out.println(ConfigurationUtil.toString(cfg)),
do you get the same XML as below? Somehow it sounds, like the
Configuration object is not set up correctly.
On 20.11.2003 11:01:47 Jorg Heymans wrote:
> tnx.. getting there :)
>
> Now it's bumming out a few lines further:
>
> BarcodeGenerator gen =
> BarcodeUtil.getInstance().createBarcodeGenerator(cfg, logger);
>
>
> In barcodeutil :
> createBarcodeGenerator(Configuration cfg,
> Logger logger,BarcodeClassResolver classResolver)
>
> ...
> //First, check Configuration directly
> String type = cfg.getName();
> try {
> cl = classResolver.resolve(type);
> } catch (ClassNotFoundException cnfe) {
> cl = null;
> }
>
> The type is null here. Drilling into the configuration object, i can
> see that my data is present (below)
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <barcode>
> <intl2of5>
> <height>20pt</height>
> <module-width>0.25mm</module-width>
> <wide-factor>3.5</wide-factor>
> <quiet-zone enabled="true">2mw</quiet-zone>
> <checksum>ignore</checksum>
> <human-readable>none</human-readable>
> </intl2of5>
> </barcode>
>
>
> Maybe i need to substitute a few more libs?
Jeremias Maerki
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/