public class XmlPrinter
extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
print(java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.OutputStream outputDataStream)
Print template formats using XML as input data.
|
static void |
print(java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.OutputStream outputDataStream,
boolean verbose)
Print template formats using XML as input data with optional running commentary to standard out.
|
static void |
print(String destinationDevice,
java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.OutputStream outputDataStream)
Print template formats using XML as input data to
destinationDevice. |
static void |
print(String destinationDevice,
java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.OutputStream outputDataStream,
boolean verbose)
Print template formats using XML as input data to a device with connection string
destinationDevice. |
public static void print(java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.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,
java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.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(java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.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,
java.io.InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
java.io.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.
© 2017 ZIH Corp. All Rights Reserved.