lib.io
Class FractalWriter

java.lang.Object
  extended by lib.io.FractalWriter

public class FractalWriter
extends java.lang.Object

Write a representation of the fractal model to an output stream

See Also:
DataOutputStream

Constructor Summary
FractalWriter(java.io.OutputStream outstream)
           
 
Method Summary
 void close()
          end the stream
 void write(FractalModel fmodel)
          Write a representation of the fractal model to an output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractalWriter

public FractalWriter(java.io.OutputStream outstream)
              throws java.io.IOException
Parameters:
outstream - the stream to write the fractal model to
Throws:
java.io.IOException
See Also:
ObjectOutputStream
Method Detail

write

public void write(FractalModel fmodel)
           throws java.io.IOException
Write a representation of the fractal model to an output stream

Parameters:
fmodel - the fractal model to write to the stream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
end the stream

Throws:
java.io.IOException