Top "Outputstream" questions

An abstract mechanism for writing data to a stream in Java and C#

Is there a way to make PHP progressively output as the script executes?

So I'm writing a disposable script for my own personal single use and I want to be able see how …

php streaming progress-bar outputstream output-buffering
Should I use method close or closeQuietly to close an output stream?

When we need close an output stream, we have two choices. closeQuietly means close a stream with no exception throwing …

java outputstream
FileOutputStream opens a new file and deletes the contents whenever it is created

I'm dealing with serialization and deserialization in files. Moreover, i'm stack about using FileOutputStream with ObjectOutputStream. The issue is i …

java file outputstream fileoutputstream
Output to Excel using ExcelLibrary in c#

The following code outputs to a csv file using controller.file. I want to change it to input to an …

c# asp.net excel outputstream excellibrary
How to upload a Java OutputStream to AWS S3

I create PDF docs in memory as OutputStreams. These should be uploaded to S3. My problem is that it's not …

java amazon-web-services amazon-s3 inputstream outputstream
When does a stream close if its not closed manually?

I would like to know when does a stream close if its not closed manually. By this I mean, will …

java stream inputstream outputstream
Concatenate ByteArrayOutputStream

public byte[] toByteArray() { try { ByteArrayOutputStream objectStream = dataObject.toByteArrayOutputStream(); DataOutputStream dout = new DataOutputStream(objectStream); dout.writeUTF(recordid); dout.close(); objectStream.close(); …

java java-me outputstream bytearrayoutputstream
JAVA: passing an input or output stream to ITextRenderer (xhtml to pdf converter)

I want to convert my XHTML text to a PDF. I converted it to FileOutputStream but I ca'nt find a …

java itext inputstream outputstream pdf-conversion
Java: IOException when writing to a ByteArrayOutputStream?

Since ByteArrayOutputStream simply writes to memory, an IOException should never occur. However, because of the contract of the OutputStream interface, …

java exception ioexception outputstream bytearrayoutputstream
Java - How to use PrintStream/OutputStream to print to the Command Line

I know we can use PrintStream to print lines to a given file: PrintStream output; output = new PrintStream("./temp.txt"); …

java outputstream printstream