Class ResourceUtils

java.lang.Object
org.mule.runtime.dsl.internal.util.ResourceUtils

public class ResourceUtils extends Object
Utility methods for resolving resource locations to files in the file system
Since:
1.4.0
  • Method Details

    • useCachesIfNecessary

      public static void useCachesIfNecessary(URLConnection con)
      Set the "useCaches" flag on the given connection, preferring false but leaving the flag at true for JNLP based resources.
      Parameters:
      con - the URLConnection to set the flag on