Class Streams


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

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

      Constructors 
      Modifier Constructor Description
      private Streams()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.InputStream open​(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
    • Field Detail

      • ON_WINDOWS

        private static final boolean ON_WINDOWS
    • Constructor Detail

      • Streams

        private Streams()
    • Method Detail

      • open

        public static java.io.InputStream open​(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