Class StringSink
java.lang.Object
ca.mcscert.jpipe.compiler.steps.io.sinks.StringSink
Pipeline sink that writes a
String to an OutputStream
supplied at construction time. The caller decides whether that stream is a
file or standard output — this class has no knowledge of either.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringSink
-
-
Method Details
-
pourInto
Description copied from interface:SinkWriteoutputto the sink's pre-configured destination.- Specified by:
pourIntoin interfaceSink<String>- Parameters:
output- the value produced by the preceding transformation chain.- Throws:
IOException- if the destination cannot be written.
-