net.sourceforge.barbecue.formatter
Class SVGFormatter
java.lang.Object
net.sourceforge.barbecue.formatter.SVGFormatter
- All Implemented Interfaces:
- BarcodeFormatter
- public class SVGFormatter
- extends java.lang.Object
- implements BarcodeFormatter
Constructor Summary |
SVGFormatter(java.io.Writer out)
|
SVGFormatter(java.io.Writer out,
double scalar,
java.lang.String units)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGFormatter
public SVGFormatter(java.io.Writer out)
SVGFormatter
public SVGFormatter(java.io.Writer out,
double scalar,
java.lang.String units)
formatAsSVG
public static java.lang.String formatAsSVG(Barcode barcode)
throws FormattingException
- Throws:
FormattingException
format
public void format(Barcode barcode)
throws FormattingException
- Specified by:
format
in interface BarcodeFormatter
- Throws:
FormattingException
setSVGScalar
public void setSVGScalar(double scalar,
java.lang.String units)
Copyright © 2003-2007 barbecue.sourceforge.net. All Rights Reserved.