public void setOutputStream(OutputStream stream) {
        this.stream = stream;
    }
Sets the {@link OutputStream} object used to write the CAS.

@param stream the {@link OutputStream} object used to write the CAS.
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/ctakes/CTAKESConfig.java