Top "Inputstream" questions

An abstract mechanism for reading a data stream in Java

Using Dropbox API to upload a file with Android

How can I upload a File (graphic, audio and video file) with Android using the Dropbox API to Dropbox? I …

android inputstream dropbox dropbox-api android-file
Do I need to close an InputStream in Java?

My code is: InputStream confFile=classLoader.getResourceAsStream("myconffile.properties"); In docs: The close method of InputStream does nothing. Does it …

java inputstream
How to convert StringBuffer to InputStream in Java ME?

I'm new in Java and learning Java ME development. I got stuck in this conversion. Please help me to convert …

java java-me inputstream midlet stringbuffer
Fast way to compare inputstreams

I have a problem, I need to compare two inputstreams fast. Today I have a function like this: private boolean …

java compare inputstream
Do I need to close a ByteArrayInputStream?

Short question, I saw in some old code where a ByteArrayInputStream was created like: new BufferedReader(new InputStreamReader(new ByteArrayInputStream(…

java garbage-collection inputstream
Where to put a text file in Grails, and how to get the path

I need to read in a .txt file into a groovy class in order to interrogate it line by line. …

java file grails inputstream
How can convert inputstream to InputStreamsource or Datasource to attach in Spring JavaMail

I am getting inputstream from the Jsch channelSFTP like below. ChannelSftp channelSftp = (ChannelSftp)channel; InputStream input=channelsftp.get(unixPath);//unixPath …

spring jakarta-mail inputstream sftp jsch
Error "must not be null" in Kotlin

There are multiple files in a .zip file, which I'm trying to get. Trying to unzip the files provides a …

java android kotlin inputstream zipinputstream
How to write a potentially huge InputStream to File?

I have an API call that returns a byte array. I currently stream the result into a byte array then …

android inputstream fileoutputstream