org.shiftone.jrat.core.output
Class FileOutputWriter

java.lang.Object
  extended by java.io.Writer
      extended by org.shiftone.jrat.util.io.proxy.ProxyWriter
          extended by org.shiftone.jrat.core.output.FileOutputWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable, FileOutput

public class FileOutputWriter
extends ProxyWriter
implements FileOutput

Author:
jeff@shiftone.org (Jeff Drost)

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
FileOutputWriter(FileOutputRegistry registry, java.io.Writer target, java.lang.String name)
           
 
Method Summary
 void close()
           
protected  java.io.Writer getTarget()
           
 java.lang.String toString()
           
 
Methods inherited from class org.shiftone.jrat.util.io.proxy.ProxyWriter
flush, write, write, write, write, write
 
Methods inherited from class java.io.Writer
append, append, append
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.shiftone.jrat.core.output.FileOutput
flush
 

Constructor Detail

FileOutputWriter

public FileOutputWriter(FileOutputRegistry registry,
                        java.io.Writer target,
                        java.lang.String name)
Method Detail

getTarget

protected java.io.Writer getTarget()
                            throws java.io.IOException
Specified by:
getTarget in class ProxyWriter
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in interface FileOutput
Overrides:
close in class ProxyWriter
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object