I need to specify an OutputStream for an API I\'m using, but I don\'t actually have a need for the output. Does Java have an OutputStream equivale
OutputStream
ByteArrayOutputStream is what you want (assuming that the API will be outputting text). Just instantiate a new one.
ByteArrayOutputStream