net.shrine.monitor.scanner
Class OutputWriter

java.lang.Object
  extended by net.shrine.monitor.scanner.OutputWriter

public class OutputWriter
extends Object

Author:
Andrew McMurry, MS

With primary support from Children's Hospital Informatics Program @ Harvard-MIT Health Sciences and Technology and

Secondary support from the Harvard Medical School Center for BioMedical Informatics

PHD candidate, Boston University Bioinformatics Member, I2b2 National Center for Biomedical Computing

All works licensed under LGPL

User: andy Date: Oct 19, 2010 Time: 4:37:04 PM


Method Summary
 void close()
           
 void error(String message, Exception e)
           
 File getBatchOutputDir()
           
static OutputWriter getInstance()
           
 void warn(String message)
           
 void write(ReqResPair pair)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OutputWriter getInstance()
                                throws IOException
Throws:
IOException

write

public void write(ReqResPair pair)
           throws IOException,
                  org.spin.query.message.serializer.SerializationException
Throws:
IOException
org.spin.query.message.serializer.SerializationException

close

public void close()
           throws IOException
Throws:
IOException

warn

public void warn(String message)
          throws IOException
Throws:
IOException

error

public void error(String message,
                  Exception e)
           throws IOException
Throws:
IOException

getBatchOutputDir

public File getBatchOutputDir()


Copyright © 2011. All Rights Reserved.