net.sourceforge.worldsaver.rp
Class Saver

java.lang.Object
  |
  +--net.sourceforge.worldsaver.rp.Saver
All Implemented Interfaces:
MiscUtils, java.lang.Runnable

public class Saver
extends java.lang.Object
implements MiscUtils, java.lang.Runnable

This class provides some useful methods to save a whole world into a file/a stream. Note that you have to insert every Land into the childs of the world and so on in order to let this one to work correctly.

Version:
Mar 1 2001
Author:
Andreas Schmitz

Fields inherited from interface net.sourceforge.worldsaver.util.MiscUtils
CONSOLE_WIDTH, NEWLINE, RANDOM
 
Constructor Summary
Saver(java.io.Writer out, World world)
          Note that this class implements the Runnable Interface, see the introduction for details.
 
Method Summary
 void run()
          You almost certainly don't want to run this directly, see introduction for details.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Saver

public Saver(java.io.Writer out,
             World world)
Note that this class implements the Runnable Interface, see the introduction for details.
Parameters:
out - the writer that the output is sent to
world - the World that contains all elements
See Also:
Saver
Method Detail

run

public void run()
You almost certainly don't want to run this directly, see introduction for details.
Specified by:
run in interface java.lang.Runnable
See Also:
Saver