Package mondrian.rolap
Class RolapUtil.TeeWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
mondrian.rolap.RolapUtil.TeeWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Enclosing class:
- RolapUtil
Writes to a string and also to an underlying writer.
-
Field Summary
Fields inherited from class java.io.FilterWriter
out
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterWriter
close, flush
Methods inherited from class java.io.Writer
append, append, append, nullWriter
-
Constructor Details
-
TeeWriter
-
-
Method Details
-
toString
Returns everything which has been written so far. -
getWriter
Returns the underlying writer. -
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-