Package org.apache.ant.antunit.junit3
Class MultiProjectDemuxOutputStream
java.lang.Object
java.io.OutputStream
org.apache.ant.antunit.junit3.MultiProjectDemuxOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Forward stdout or stderr operation to the current antunit project.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate org.apache.tools.ant.DemuxOutputStreamprivate org.apache.tools.ant.Projectprivate final AntUnitScriptRunner -
Constructor Summary
ConstructorsConstructorDescriptionMultiProjectDemuxOutputStream(AntUnitScriptRunner scriptRunner, boolean isErrorStream) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
scriptRunner
-
lastProject
private org.apache.tools.ant.Project lastProject -
lastDemuxOutputStream
private org.apache.tools.ant.DemuxOutputStream lastDemuxOutputStream -
isErrorStream
private final boolean isErrorStream
-
-
Constructor Details
-
MultiProjectDemuxOutputStream
-
-
Method Details
-
getDemuxOutputStream
private org.apache.tools.ant.DemuxOutputStream getDemuxOutputStream() -
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-