Class URIUtils

java.lang.Object
net.ontopia.utils.URIUtils

public class URIUtils extends Object
INTERNAL: Utilities for working with URIs.
Since:
1.3.2
  • Constructor Details

    • URIUtils

      public URIUtils()
  • Method Details

    • getURIFile

      public static File getURIFile(LocatorIF file) throws MalformedURLException
      INTERNAL: Given a URILocator in the file: URI scheme, produce the corresponding File object.
      Throws:
      MalformedURLException
      Since:
      1.4
    • toURL

      public static URL toURL(File file)
      INTERNAL: Use this method instead of File.toURL() to get URLs for files.