public class InputOrderGenerator extends Object
Will generate a file that looks like this:
<order>
<header>
<date>Wed Nov 15 13:45:28 EST 2006</date>
<customer number="123123">Joe</customer>
</header>
<order-items>
<order-item>
<product>111</product>
<quantity>2</quantity>
<price>8.90</price>
</order-item>
...
</order-item>
</order-items>
<order>
The number of order-items is controlled by the 'nrOfOrderRows' argument.| Constructor and Description |
|---|
InputOrderGenerator() |
public static void main(String[] args) throws IOException
IOExceptionpublic static void printUsage()
Copyright © 2020. All rights reserved.