Class OutputStreamWithD2Writer
java.lang.Object
java.io.OutputStream
org.nuxeo.ecm.core.io.marshallers.d2.OutputStreamWithD2Writer
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Wrapper for
D2Printer.- Since:
- 2025.12
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Field Details
-
d2Printer
-
out
-
-
Constructor Details
-
OutputStreamWithD2Writer
-
-
Method Details
-
getD2Printer
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-