Package net.sourceforge.plantuml.teavm.c
Class StderrStream
java.lang.Object
java.io.OutputStream
net.sourceforge.plantuml.teavm.c.StderrStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
The standard error of the C build, for the diagnostics of
-pipe (line
number and message of a syntax error, read by tools such as Kroki): the bytes
are written as they are, in binary mode, straight to the file descriptor 2.
It does not depend on the System.err of the classlib of the TeaVM C
backend, which is a text stream (see StdoutStream).
Only create it when TeaVM.isC(): elsewhere the native method fails.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
Constructor Details
-
StderrStream
public StderrStream()
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-