edu.harvard.seas.iis.util.io
Class XmlRpcWriter

java.lang.Object
  extended by edu.harvard.seas.iis.util.io.XmlRpcWriter

public class XmlRpcWriter
extends java.lang.Object


Constructor Summary
XmlRpcWriter(java.io.File file, boolean append)
           
XmlRpcWriter(java.io.Writer writer)
           
 
Method Summary
 void close()
           
static XmlRpcWriter createWriterFromUserSpecifiedFile(boolean append)
           
static void main(java.lang.String[] args)
           
 void write(java.lang.Object o)
           
 void writeRaw(java.lang.String str)
          Allows raw text to be written to the stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcWriter

public XmlRpcWriter(java.io.Writer writer)

XmlRpcWriter

public XmlRpcWriter(java.io.File file,
                    boolean append)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

createWriterFromUserSpecifiedFile

public static XmlRpcWriter createWriterFromUserSpecifiedFile(boolean append)

write

public void write(java.lang.Object o)
           throws XmlRpcException,
                  java.io.IOException
Throws:
XmlRpcException
java.io.IOException

writeRaw

public void writeRaw(java.lang.String str)
              throws java.io.IOException
Allows raw text to be written to the stream

Parameters:
str -
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws XmlRpcException,
                        java.io.IOException
Throws:
XmlRpcException
java.io.IOException