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

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

public class XmlRpcWriter
extends Object


Constructor Summary
XmlRpcWriter(File file, boolean append)
           
XmlRpcWriter(Writer writer)
           
 
Method Summary
 void close()
           
static XmlRpcWriter createWriterFromUserSpecifiedFile(boolean append)
           
static void main(String[] args)
           
 void write(Object o)
           
 void writeRaw(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(Writer writer)

XmlRpcWriter

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

createWriterFromUserSpecifiedFile

public static XmlRpcWriter createWriterFromUserSpecifiedFile(boolean append)

write

public void write(Object o)
           throws XmlRpcException,
                  IOException
Throws:
XmlRpcException
IOException

writeRaw

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

Parameters:
str -
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

main

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