public class WagonCARTWriter extends Object
Constructor and Description |
---|
WagonCARTWriter() |
Modifier and Type | Method and Description |
---|---|
void |
dumpBinary(CART cart,
DataOutput os)
Dumps this CART to the output stream in WagonFormat.
|
void |
dumpWagonCART(CART cart,
String destFile)
Dump the CARTs in the cart map to destinationDir/CARTS.bin
|
void |
toTextOut(CART cart,
PrintWriter pw)
Debug output to a text file
|
public void dumpWagonCART(CART cart, String destFile) throws IOException
cart
- treedestFile
- the destination fileIOException
- IOExceptionpublic void toTextOut(CART cart, PrintWriter pw) throws IOException
cart
- the cart treepw
- the print writer of the text fileIOException
- IOExceptionpublic void dumpBinary(CART cart, DataOutput os) throws IOException
os
- the output streamcart
- the cart treeIOException
- if an error occurs during outputCopyright © 2000–2016 DFKI GmbH. All rights reserved.