net.sf.cotta.io
Class IoManager

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

Deprecated. use InputManager or OutputManager

@Deprecated
public class IoManager
extends java.lang.Object

I/O manager that handles creation and management of the I/O resources


Constructor Summary
IoManager(StreamFactory streamFactory)
          Deprecated.  
IoManager(StreamFactory streamFactory, java.lang.String defaultEncoding)
          Deprecated.  
 
Method Summary
 java.io.BufferedReader bufferedReader()
          Deprecated.  
 java.io.BufferedWriter bufferedWriter(OutputMode mode)
          Deprecated.  
 java.nio.channels.FileChannel inputChannel()
          Deprecated.  
 java.io.InputStream inputStream()
          Deprecated.  
 java.io.LineNumberReader lineNumberReader()
          Deprecated.  
 void open(IoProcessor ioProcessor)
          Deprecated.  
 java.io.OutputStream outputStream(OutputMode mode)
          Deprecated.  
 java.io.PrintWriter printWriter(OutputMode mode)
          Deprecated.  
 java.io.Reader reader()
          Deprecated.  
 java.io.Reader reader(java.lang.String encoding)
          Deprecated.  
 void registerResource(java.io.Closeable Closeable)
          Deprecated.  
 java.io.Writer writer(OutputMode outputMode)
          Deprecated.  
 java.io.Writer writer(OutputMode outputMode, java.lang.String encoding)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoManager

public IoManager(StreamFactory streamFactory)
Deprecated. 

IoManager

public IoManager(StreamFactory streamFactory,
                 java.lang.String defaultEncoding)
Deprecated. 
Method Detail

inputStream

public java.io.InputStream inputStream()
                                throws TIoException
Deprecated. 
Throws:
TIoException

outputStream

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

writer

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

writer

public java.io.Writer writer(OutputMode outputMode,
                             java.lang.String encoding)
                      throws TIoException
Deprecated. 
Throws:
TIoException

reader

public java.io.Reader reader()
                      throws TIoException
Deprecated. 
Throws:
TIoException

reader

public java.io.Reader reader(java.lang.String encoding)
                      throws TIoException
Deprecated. 
Throws:
TIoException

bufferedReader

public java.io.BufferedReader bufferedReader()
                                      throws TIoException
Deprecated. 
Throws:
TIoException

lineNumberReader

public java.io.LineNumberReader lineNumberReader()
                                          throws TIoException
Deprecated. 
Throws:
TIoException

inputChannel

public java.nio.channels.FileChannel inputChannel()
                                           throws TIoException
Deprecated. 
Throws:
TIoException

bufferedWriter

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

printWriter

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

registerResource

public void registerResource(java.io.Closeable Closeable)
Deprecated. 

open

public void open(IoProcessor ioProcessor)
          throws TIoException
Deprecated. 
Throws:
TIoException