java.io.InputStream



Project Netflix/exhibitor in file ...m.netflix.exhibitor.core.backup.s3.Compressor.java (2012-02-16)
@@ -1,8 +1,11 @@
 package com.netflix.exhibitor.core.backup.s3;
 
 import java.io.File;
+import java.io.InputStream;
 
 public interface Compressor
 {
     public CompressorIterator     compress(File f) throws Exception;
+    
+    public CompressorIterator     decompress(InputStream in) throws Exception;
 }
Project bumptech/glide in file ...ech.glide.samples.flickr.FlickrSearchActivity.java (2014-04-26)
@@ -20,6 +20,7 @@ import com.bumptech.glide.Glide;
 import com.bumptech.glide.samples.flickr.api.Api;
 import com.bumptech.glide.samples.flickr.api.Photo;
 
+import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -74,6 +75,8 @@ public class FlickrSearchActivity extends SherlockFragmentActivity {
                 .penaltyLog()
                 .build());
 
+        Glide.get(this).register(Photo.class, InputStream.class, new FlickrModelLoader.Factory());
+
         searching = findViewById(R.id.searching);
         searchLoading = findViewById(R.id.search_loading);
         searchTerm = (TextView) findViewById(R.id.search_term);
Project gephi/gephi in file ...rc.org.gephi.io.importer.api.ImportController.java (2010-03-28)
@@ -20,6 +20,7 @@ along with Gephi.  If not, see <http://www.gnu.org/licenses/>.
  */
 package org.gephi.io.importer.api;
 
+import java.io.InputStream;
 import org.gephi.io.importer.spi.DatabaseType;
 import org.openide.filesystems.FileObject;
 
@@ -36,6 +37,8 @@ public interface ImportController {
 
     public void doImport(FileObject fileObject);
 
+    public void doImport(InputStream stream, String importer);
+
     public void doImport(Database database);
 
     public DatabaseType[] getDatabaseTypes();
Project gradle/gradle in file ...y.org.gradle.integtests.fixtures.GradleHandle.java (2011-10-06)
@@ -15,13 +15,16 @@
  */
 package org.gradle.integtests.fixtures;
 
+import java.io.InputStream;
+
 public interface GradleHandle<T extends GradleExecuter> {
 
     T getExecuter();
 
     String getStandardOutput();
     String getErrorOutput();
-
+    GradleHandle<T> setStandardInput(InputStream input);
+    
     GradleHandle<T> start();
     GradleHandle<T> abort();
 
Project jclouds/jclouds in file ...t.java.org.jclouds.http.IntegrationTestClient.java (2010-03-21)
@@ -18,6 +18,7 @@
  */
 package org.jclouds.http;
 
+import java.io.InputStream;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
 
@@ -38,6 +39,8 @@ public interface IntegrationTestClient {
 
    String download(String id);
 
+   InputStream downloadStream(String id);
+
    String downloadException(String id, HttpRequestOptions options);
 
    String synchException(String id, String header);