java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
com.ibm.jvm.dtfjview.JdmpviewPrintStream
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
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
ConstructorDescriptionJdmpviewPrintStream
(File file) JdmpviewPrintStream
(File file, String csn) JdmpviewPrintStream
(OutputStream out, boolean autoFlush) JdmpviewPrintStream
(OutputStream out, boolean autoFlush, String encoding) JdmpviewPrintStream
(String fileName) JdmpviewPrintStream
(String fileName, String csn) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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, write, writeBytes
Methods declared in class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
JdmpviewPrintStream
-
JdmpviewPrintStream
- Throws:
FileNotFoundException
-
JdmpviewPrintStream
- Throws:
FileNotFoundException
-
JdmpviewPrintStream
-
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 Details
-
getOutputStream
Returns the output stream that was used in the constructor.- Returns:
- the stream or null if one wasn't used by the constructor
-