@Override
        public URL getResource(final String string) {
            final File file = new File(this.dir, string);
            if (file.exists()) {
                try {
                    return file.toURI().toURL();
                } catch (MalformedURLException ex) {}
            }
            return null;
        }