|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.cotta.io.IoFactory
@Deprecated public class IoFactory
IoFactory used to create I/O objects
| Constructor Summary | |
|---|---|
IoFactory(StreamFactory streamFactory)
Deprecated. |
|
IoFactory(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. |
java.io.OutputStream |
outputStream(OutputMode mode)
Deprecated. |
TPath |
path()
Deprecated. |
java.io.PrintWriter |
printWriter(OutputMode mode)
Deprecated. |
java.io.Reader |
reader()
Deprecated. Create a Reader using the default encoding |
java.io.Reader |
reader(java.lang.String encoding)
Deprecated. Create a Reader using the provided encoding |
java.io.Writer |
writer(OutputMode mode)
Deprecated. |
java.io.Writer |
writer(OutputMode mode,
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 |
|---|
public IoFactory(StreamFactory streamFactory)
public IoFactory(StreamFactory streamFactory,
java.lang.String defaultEncoding)
| Method Detail |
|---|
public java.io.InputStream inputStream()
throws TIoException
TIoException
public java.io.OutputStream outputStream(OutputMode mode)
throws TIoException
TIoException
public java.io.Reader reader()
throws TIoException
TIoException - for any IO error
public java.io.Reader reader(java.lang.String encoding)
throws TIoException
encoding - encoding for the reader
TIoException - if any IOException thrown
public java.io.BufferedReader bufferedReader()
throws TIoException
TIoException
public java.io.LineNumberReader lineNumberReader()
throws TIoException
TIoException
public java.io.Writer writer(OutputMode mode)
throws TIoException
TIoException
public java.io.Writer writer(OutputMode mode,
java.lang.String encoding)
throws TIoException
TIoException
public java.io.BufferedWriter bufferedWriter(OutputMode mode)
throws TIoException
TIoException
public java.io.PrintWriter printWriter(OutputMode mode)
throws TIoException
TIoExceptionpublic TPath path()
public java.nio.channels.FileChannel inputChannel()
throws TIoException
TIoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||