org.sonatype.guice.bean.reflect
Class Streams

java.lang.Object
  extended by org.sonatype.guice.bean.reflect.Streams

public final class Streams
extends java.lang.Object

Utility methods for dealing with streams.


Method Summary
static java.io.InputStream openStream(java.net.URL url)
          Opens an input stream to the given URL; disables JAR caching on Windows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

openStream

public static java.io.InputStream openStream(java.net.URL url)
                                      throws java.io.IOException
Opens an input stream to the given URL; disables JAR caching on Windows.

Throws:
java.io.IOException


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.