Class URLUtil


  • public class URLUtil
    extends Object
    • Method Detail

      • openStream

        @NotNull
        public static InputStream openStream​(URL url)
                                      throws IOException
        Opens a url stream. The semantics is the sames as URL.openStream(). The separate method is needed, since jar URLs open jars via JarFactory and thus keep them mapped into memory.
        Throws:
        IOException
      • unescapePercentSequences

        @NotNull
        public static String unescapePercentSequences​(@NotNull
                                                      String s)