|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
oracle.dss.util.xdo.common.log.LogOutputStream
public class LogOutputStream
Field Summary | |
---|---|
static java.lang.String |
RCS_ID
|
Constructor Summary | |
---|---|
LogOutputStream(java.io.OutputStream outStream,
java.lang.String filename)
Log an OutStream to |
Method Summary | |
---|---|
void |
close()
Closes the OutputStream for the log file. |
void |
flush()
The outStream for customers will only be flushed. |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RCS_ID
Constructor Detail |
---|
public LogOutputStream(java.io.OutputStream outStream, java.lang.String filename) throws java.io.IOException
Usage:
out2 = new LogOutputStream( out, filename );
... process ...
out2.close(); // must close out2 all the time, out will not be closed here.
out.close(); // close out if necessary
outStream
- an OutputStream to logfilename
- a file name of the log file (not a full path).
java.io.IOException
Method Detail |
---|
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |