return new NodeModuleProviderImpl(destDir, jarURI);
}
public NodeModuleProviderImpl(String destDir, URI jarURI) {
JarURIHelper jarURIHelper;
File destDirFile;
try {
jarURIHelper = new JarURIHelper(jarURI);
destDirFile = new File(destDir);
jarURIHelper.copyToFolder(destDirFile);
} catch (IOException e) {
throw new RuntimeException(e);
}
FilenameFilter filenameFilter = new FilenameFilter() {