Class Streams

java.lang.Object
org.eclipse.sisu.space.Streams

public final class Streams extends Object
Utility methods for dealing with streams.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final boolean
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    open(URL url)
    Opens an input stream to the given URL; disables JAR caching on Windows or when the 'sisu.url.caches' system property is set to false.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • USE_CACHES

      private static final boolean USE_CACHES
  • Constructor Details

    • Streams

      private Streams()
  • Method Details

    • open

      public static InputStream open(URL url) throws IOException
      Opens an input stream to the given URL; disables JAR caching on Windows or when the 'sisu.url.caches' system property is set to false.
      Throws:
      IOException