Top "Inputstream" questions

An abstract mechanism for reading a data stream in Java

java.io.IOException: unexpected end of stream on Connection in android

I have web service URL, it working fine. It gives the JSON data. When I am using HttpURLConnection and InputStream, …

android rest inputstream httpurlconnection
How to load a classpath resource to an array of byte?

I know how to get the inputstream for a given classpath resource, read from the inputstream until i reach the …

java io inputstream embedded-resource
Receive byte[] using ByteArrayInputStream from a socket

Here is the code but got error: bin = new ByteArrayInputStream(socket.getInputStream()); Is it possible to receive byte[] using ByteArrayInputStream …

java sockets io inputstream bytearrayinputstream
Java Networking: Explain InputStream and OutputStream in Socket

I have created a server by using ServerSocket. After that, I have created Client using Socket, and connect to this …

java sockets inputstream outputstream
How to Cache InputStream for Multiple Use

I have an InputStream of a file and i use apache poi components to read from it like this: POIFSFileSystem …

java caching inputstream apache-poi
How to send email with attachment using InputStream and Spring?

The situation is like this: First, we generate a file in the memory, we can get a InputStream object. Second …

java spring email inputstream
Load files bigger than 1M from assets folder

I'm going crazy, I created a file object, so it can be read with ObjectInputStream, and I placed the assets …

android load inputstream assets objectinputstream
Unable to read InputStream from Java Process (Runtime.getRuntime().exec() or ProcessBuilder)

I'm trying to start a process externally with Java and can't read anything from its InputStream. If I'm starting a …

java process inputstream
Looping Error on Android Emulator

I can't seem to launch any of my apps in my Android emulator because every ~2 seconds this error pops up, …

java android inputstream jpct
How to chain multiple different InputStreams into one InputStream

I'm wondering if there is any ideomatic way to chain multiple InputStreams into one continual InputStream in Java (or Scala). …

java scala io inputstream