- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- java.io.PrintStream
-
- com.ibm.jvm.dtfjview.JdmpviewPrintStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class JdmpviewPrintStream extends PrintStream
Jdmpview specific print stream which allows access to the underlying Output class which controls an arbitrary number of write destinations
-
-
Field Summary
-
Fields declared in class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description JdmpviewPrintStream(File file)
JdmpviewPrintStream(File file, String csn)
JdmpviewPrintStream(OutputStream out)
JdmpviewPrintStream(OutputStream out, boolean autoFlush)
JdmpviewPrintStream(OutputStream out, boolean autoFlush, String encoding)
JdmpviewPrintStream(String fileName)
JdmpviewPrintStream(String fileName, String csn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getOutputStream()
Returns the output stream that was used in the constructor.-
Methods declared in class java.io.PrintStream
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
-
Methods declared in class java.io.FilterOutputStream
write
-
Methods declared in class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
JdmpviewPrintStream
public JdmpviewPrintStream(OutputStream out)
-
JdmpviewPrintStream
public JdmpviewPrintStream(String fileName) throws FileNotFoundException
- Throws:
FileNotFoundException
-
JdmpviewPrintStream
public JdmpviewPrintStream(File file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
JdmpviewPrintStream
public JdmpviewPrintStream(OutputStream out, boolean autoFlush)
-
JdmpviewPrintStream
public JdmpviewPrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException
-
JdmpviewPrintStream
public JdmpviewPrintStream(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException
-
JdmpviewPrintStream
public JdmpviewPrintStream(OutputStream out, boolean autoFlush, String encoding) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream()
Returns the output stream that was used in the constructor.- Returns:
- the stream or null if one wasn't used by the constructor
-
-