public class XmlPrinter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
print(InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream)
Print template formats using XML as input data.
|
static void |
print(InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream,
boolean verbose)
Print template formats using XML as input data with optional running commentary to standard out.
|
static void |
print(String destinationDevice,
InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream)
Print template formats using XML as input data to
destinationDevice. |
static void |
print(String destinationDevice,
InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream,
boolean verbose)
Print template formats using XML as input data to a device with connection string
destinationDevice. |
public static void print(InputStream sourceDataStream, String templateFilename, String defaultQuantityString, OutputStream outputDataStream)
sourceDataStream - The source stream containing the XML.templateFilename - The template to merge the XML to.defaultQuantityString - The quantity, if not specified in the data.outputDataStream - Optional stream to send data to.public static void print(String destinationDevice, InputStream sourceDataStream, String templateFilename, String defaultQuantityString, OutputStream outputDataStream)
destinationDevice.destinationDevice - The connection string.sourceDataStream - The source stream containing the XML.templateFilename - The template to merge the XML to.defaultQuantityString - The quantity, if not specified in the data.outputDataStream - Optional stream to send data to. destinationDevice.public static void print(InputStream sourceDataStream, String templateFilename, String defaultQuantityString, OutputStream outputDataStream, boolean verbose)
sourceDataStream - The source stream containing the XML.templateFilename - The template to merge the XML to.defaultQuantityString - The quantity, if not specified in the data.outputDataStream - Optional stream to send data to.verbose - If true, print a running commentary to standard out.public static void print(String destinationDevice, InputStream sourceDataStream, String templateFilename, String defaultQuantityString, OutputStream outputDataStream, boolean verbose)
destinationDevice.destinationDevice - The connection string.sourceDataStream - The source stream containing the XML.templateFilename - The template to merge the XML to.defaultQuantityString - The quantity, if not specified in the data.outputDataStream - Optional stream to send data to.verbose - If true, print a running commentary to standard out.destinationDevice.
© 2016 ZIH Corp. All Rights Reserved.