com.threerings.export.tools
Class XMLToBinaryConverter

java.lang.Object
  extended by com.threerings.export.tools.XMLToBinaryConverter

public class XMLToBinaryConverter
extends Object

Converts XML export files into binary export files.


Constructor Summary
XMLToBinaryConverter()
           
 
Method Summary
static void convert(String pattern, boolean compress)
          Converts the file(s) identified by the given pattern.
static void convert(String source, String dest, boolean compress)
          Performs the actual conversion.
static void main(String[] args)
          Program entry point.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLToBinaryConverter

public XMLToBinaryConverter()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Program entry point.

Throws:
Exception

convert

public static void convert(String pattern,
                           boolean compress)
                    throws IOException
Converts the file(s) identified by the given pattern.

Throws:
IOException

convert

public static void convert(String source,
                           String dest,
                           boolean compress)
                    throws IOException
Performs the actual conversion.

Throws:
IOException


Copyright © 2011. All Rights Reserved.