Class FileLocator

java.lang.Object
net.md_5.specialsource.util.FileLocator

public class FileLocator extends Object
  • Field Details

    • useCache

      public static boolean useCache
  • Constructor Details

    • FileLocator

      public FileLocator()
  • Method Details

    • getFile

      public static File getFile(String path) throws IOException
      Either download, or get a File object corresponding to the given URL / file name.
      Parameters:
      path -
      Returns:
      Throws:
      IOException
    • isHTTPURL

      public static boolean isHTTPURL(String string)