Top "Inputstream" questions

An abstract mechanism for reading a data stream in Java

Process.waitFor(), threads, and InputStreams

In pseudocode, here's what I'm doing: Process proc = runtime.exec(command); processOutputStreamInThread(proc.getInputStream()); processOutputStreamInThread(proc.getErrorStream()); proc.waitFor() However, …

java multithreading process inputstream
What's the fastest way to read from System.in in Java?

I am reading bunch of integers separated by space or newlines from the standard in using Scanner(System.in). Is …

java optimization inputstream stdin
Scala: InputStream to Array[Byte]

With Scala, what is the best way to read from an InputStream to a bytearray? I can see that you …

scala bytearray inputstream
open failed: EBUSY (Device or resource busy)

I have a strange error in my App. In my app it is possible to download a zipFile, read the …

android inputstream unzip
Create a Zip File in Memory

I'm trying to zip a file (for example foo.csv) and upload it to a server. I have a working …

java memory zip inputstream
Java InputStream to ByteBuffer

I am reading dds textures, but since once built the jar I can't access those textures through url and file …

java inputstream bytebuffer
How to convert BufferedImage to InputStream?

I am uploading images using servlet. To perform resize operations i am converting InputStream to BufferedImage. Now i want to …

java inputstream bufferedimage
How do I convert a InputStream to BufferedImage in Java/Groovy?

Yes, I'm that stupid. I'm trying to stick some groovy code together from various cookbook recipes, and I can't get …

java groovy inputstream bufferedimage
Converting EBCDIC to ASCII in java

I am supposed to convert an EBCDIC file to ASCII by using Java. So far I have this code: public …

java ascii inputstream cobol ebcdic
How do you play Android InputStream on MediaPlayer?

So I have a small audio file in my assets folder and I wanted to open a InputStream to write …

android file inputstream fileoutputstream