Top "Inputstream" questions

An abstract mechanism for reading a data stream in Java

How do you merge two input streams in Java?

Having two InputStreams in Java, is there a way to merge them so you end with one InputStream that gives …

java io inputstream
how to write content in a Specific position in a File

Suppose I have a file named abhishek.txt and that contains the following line I am , and what is your …

java inputstream textinput fileinputstream
getInputStream for a ZipEntry from ZipInputStream (without using the ZipFile class)

How can I get an InputStream for a ZipEntry from a ZipInputStream without using the ZipFile class?

java inputstream zipfile zipinputstream
Reading HttpURLConnection InputStream - manual buffer or BufferedInputStream?

When reading the InputStream of an HttpURLConnection, is there any reason to use one of the following over the other? …

buffer inputstream httpurlconnection bufferedinputstream
How to set InputStream content Length

I am uploading files to Amazon S3 bucket. The files are being uploaded but i get the following Warning. WARNING: …

amazon-web-services amazon-s3 metadata inputstream
HttpContext.Current is null in my web service

I have a web service (.svc), and I am trying to capture the SOAP request using a piece of code …

wcf web-services inputstream httpcontext
How to use NIO to write InputStream to File?

I am using following way to write InputStream to File: private void writeToFile(InputStream stream) throws IOException { String filePath = "C:\\…

java image file inputstream nio
what is the difference in using InputStream instead of FileInputStream while creating the FileInputStream object

This may be a silly one, but I want to know the background operation difference. InputStream is = new FileInputStream(filepath); …

java file inputstream java-io fileinputstream
Java: InputStream too slow to read huge files

I have to read a 53 MB file character by character. When I do it in C++ using ifstream, it is …

java inputstream large-files java-native-interface
Write a binary downloaded file to disk in Java

I have a software that allow to write add-on in javascript files (.js) that allow to use Java function (I …

java inputstream outputstream