Package com.iizix.js
Interface IGenericFileLocator
- public interface IGenericFileLocatorInterface used for Eclipse to resolve an URL to a file. This interface returns null by default when Eclipse is not used, i.e. when running in non Designer mode.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Default Methods - Modifier and Type - Method - Description - default java.io.File- toFileURL(java.net.URL url)Resolves an URL to a canonical file.
 
- Method Detail- toFileURL- default java.io.File toFileURL(java.net.URL url) throws java.io.IOException, java.lang.IllegalArgumentExceptionResolves an URL to a canonical file.- Parameters:
- url- The URL to resolve.
- Returns:
- The canonical file.
- Throws:
- java.io.IOException- If file cannot be resolved.
- java.lang.IllegalArgumentException- If the protocol cannot be resolved to a file.