Package com.iizix
Interface IFileURLResolver
public interface IFileURLResolverInterface used to resolve URL's to files for the Designer. In other products, the same URL is returned unchanged.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.io.FileresolveURL(java.net.URL url)Resolves the URL to a File.
Method Detail
resolveURL
default java.io.File resolveURL(java.net.URL url) throws java.net.URISyntaxException, java.io.IOExceptionResolves the URL to a File.- Parameters:
url- A URL.- Returns:
- The canonical file resolved, never null.
- Throws:
java.lang.NullPointerException- Ifurlisnull.java.lang.IllegalArgumentException- If the preconditions on the parameter do not holdjava.net.URISyntaxException- If the URL conversion over URI cannot be converted to a file.java.io.IOException- If the file cannot be resolved withgetCanonicalFile().