|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.cotta.io.ResourceManager<OutputProcessor>
net.sf.cotta.io.OutputManager
public class OutputManager
Output resource management class to be used through Output
| Constructor Summary | |
|---|---|
protected |
OutputManager(OutputStreamFactory streamFactory,
java.lang.String defaultEncoding)
|
| Method Summary | |
|---|---|
java.io.BufferedWriter |
bufferedWriter()
|
java.io.OutputStream |
outputStream()
|
protected TPath |
path()
|
java.io.PrintWriter |
printWriter()
|
protected void |
process(OutputProcessor processor)
|
static Output |
with(java.io.OutputStream stream)
Deprecated. moved to Output |
static Output |
with(OutputStreamFactory streamFactory)
Deprecated. moved to Output |
static Output |
with(OutputStreamFactory streamFactory,
java.lang.String defaultEncoding)
Deprecated. |
static Output |
with(java.io.OutputStream stream,
java.lang.String defaultEncoding)
Deprecated. moved to Output |
java.io.Writer |
writer()
|
java.io.Writer |
writer(java.lang.String encoding)
|
| Methods inherited from class net.sf.cotta.io.ResourceManager |
|---|
open, registerResource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected OutputManager(OutputStreamFactory streamFactory,
java.lang.String defaultEncoding)
| Method Detail |
|---|
public java.io.OutputStream outputStream()
throws TIoException
TIoException
public java.io.Writer writer()
throws TIoException
TIoException
public java.io.Writer writer(java.lang.String encoding)
throws TIoException
TIoException
public java.io.BufferedWriter bufferedWriter()
throws TIoException
TIoException
public java.io.PrintWriter printWriter()
throws TIoException
TIoException
protected void process(OutputProcessor processor)
throws java.io.IOException
process in class ResourceManager<OutputProcessor>java.io.IOExceptionprotected TPath path()
path in class ResourceManager<OutputProcessor>@Deprecated public static Output with(java.io.OutputStream stream)
stream - output stream
@Deprecated
public static Output with(java.io.OutputStream stream,
java.lang.String defaultEncoding)
stream - output streamdefaultEncoding - default encoding for creating the writers
@Deprecated public static Output with(OutputStreamFactory streamFactory)
streamFactory - stream factory
@Deprecated
public static Output with(OutputStreamFactory streamFactory,
java.lang.String defaultEncoding)
streamFactory - output stream factorydefaultEncoding - default encoding for the writers
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||