gate.util.persistence
Class UpdateSavedApp

java.lang.Object
  extended by gate.util.persistence.UpdateSavedApp

public class UpdateSavedApp
extends Object

Handy command-line utility that loads a saved application state in the old serialized-object format and resaves it in XML format. Note that this utility does not load the application into GATE and resave it, but merely converts the persistent representation from one format to another. If you have an old-style saved state that will not load (because, for example, it refers to a plugin that is not available) you can convert it to XML format with this tool and then hand-edit the resulting XML to fix it.

Usage: java -classpath <gate.jar and lib/*.jar> gate.util.persistence.UpdateSavedApp <oldFormatFile> <newFormatFile>


Constructor Summary
UpdateSavedApp()
           
 
Method Summary
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateSavedApp

public UpdateSavedApp()
Method Detail

main

public static void main(String[] argv)
                 throws Exception
Throws:
Exception