Package com.iizix

Interface IFileURLResolver


  • public interface IFileURLResolver
    Interface used to resolve URL's to files for the Designer. In other products, the same URL is returned unchanged.
    Author:
    Christopher Mindus
    • Method Detail

      • resolveURL

        default java.io.File resolveURL​(java.net.URL url)
                                 throws java.net.URISyntaxException,
                                        java.io.IOException
        Resolves the URL to a File.
        Parameters:
        url - A URL.
        Returns:
        The canonical file resolved, never null.
        Throws:
        java.lang.NullPointerException - If url is null.
        java.lang.IllegalArgumentException - If the preconditions on the parameter do not hold
        java.net.URISyntaxException - If the URL conversion over URI cannot be converted to a file.
        java.io.IOException - If the file cannot be resolved with getCanonicalFile().