private void addResource(String src, List<IResource> resources) throws MalformedURLException {
        if (src != null && !src.isEmpty()) {
            resources.add(new Resource(src, resolver));
        }
    }