raja.io
Class ObjectWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.BufferedWriter
              |
              +--raja.io.ObjectWriter

public class ObjectWriter
extends BufferedWriter


Fields inherited from class java.io.Writer
lock
 
Constructor Summary
ObjectWriter(Writer out)
           
 
Method Summary
 void decrementIndent()
           
 void incrementIndent()
           
static String toString(Writable obj)
           
 void writeFields(Number[] fields)
           
 void writeFields(Object[][] fields)
           
 void writeIndent()
           
 void writeObject(Object obj)
           
 
Methods inherited from class java.io.BufferedWriter
close, flush, newLine, write, write, write
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectWriter

public ObjectWriter(Writer out)
Method Detail

incrementIndent

public void incrementIndent()

decrementIndent

public void decrementIndent()

toString

public static String toString(Writable obj)

writeObject

public void writeObject(Object obj)
                 throws IOException

writeFields

public void writeFields(Object[][] fields)
                 throws IOException

writeFields

public void writeFields(Number[] fields)
                 throws IOException

writeIndent

public void writeIndent()
                 throws IOException