|
Public Member Functions |
| ThreadAwareOutputStream (OutputStream aDefaultOutputStream) |
void | write (int w) throws IOException |
void | write (byte[] b, int offset, int length) throws IOException |
synchronized void | attachFile (Object th, File file) throws IOException |
synchronized void | removeFile (Object th) throws IOException |
void | flush () throws IOException |
void | flush (Object th) throws IOException |
Protected Member Functions |
OutputStream | getOutputStream (Object th) throws IOException |
Protected Attributes |
HashMap | map = null |
OutputStream | defaultOutput = null |
Each application must write its output in its own files. This class is responsible for redirect the output of applications to their correct output files.