net.sf.cotta.io
Class OutputFactory

java.lang.Object
  extended by net.sf.cotta.io.OutputFactory

public class OutputFactory
extends java.lang.Object


Constructor Summary
OutputFactory(OutputStreamFactory streamFactory, java.lang.String defaultEncoding)
           
 
Method Summary
 java.io.BufferedWriter bufferedWriter()
           
 java.io.OutputStream outputStream()
           
 TPath path()
           
 java.io.PrintWriter printWriter()
           
 java.io.Writer writer()
           
 java.io.Writer writer(java.lang.String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFactory

public OutputFactory(OutputStreamFactory streamFactory,
                     java.lang.String defaultEncoding)
Method Detail

outputStream

public java.io.OutputStream outputStream()
                                  throws TIoException
Throws:
TIoException

writer

public java.io.Writer writer()
                      throws TIoException
Throws:
TIoException

writer

public java.io.Writer writer(java.lang.String encoding)
                      throws TIoException
Throws:
TIoException

bufferedWriter

public java.io.BufferedWriter bufferedWriter()
                                      throws TIoException
Throws:
TIoException

printWriter

public java.io.PrintWriter printWriter()
                                throws TIoException
Throws:
TIoException

path

public TPath path()