use of org.apache.commons.vfs2.provider.jar.JarFileProvider in project spoofax by metaborg.
the class DefaultFileSystemManagerProvider method addProviders.
protected void addProviders(DefaultFileSystemManager manager) throws FileSystemException {
manager.addProvider("tmp", new TemporaryFileProvider());
manager.addProvider("res", new ResourceFileProvider());
manager.addProvider("ram", new RamFileProvider());
manager.addProvider("zip", new ZipFileProvider());
manager.addProvider("jar", new JarFileProvider());
manager.addProvider("tar", new TarFileProvider());
manager.addProvider("tgz", new TgzFileProvider());
manager.addProvider("tbz2", new Tbz2FileProvider());
manager.addProvider("gz", new GzipFileProvider());
manager.addProvider("bz2", new Bzip2FileProvider());
manager.addProvider("http", new HttpFileProvider());
manager.addProvider("https", new HttpsFileProvider());
manager.addProvider("ftp", new FtpFileProvider());
manager.addProvider("ftps", new FtpsFileProvider());
}
use of org.apache.commons.vfs2.provider.jar.JarFileProvider in project commons-vfs by apache.
the class ResourceProviderTestCase method prepare.
/**
* Prepares the file system manager. This implementation does nothing.
*/
@Override
public void prepare(final DefaultFileSystemManager manager) throws Exception {
manager.addProvider("res", new ResourceFileProvider());
manager.addProvider("file", new UrlFileProvider());
manager.addProvider("jar", new JarFileProvider());
}
Aggregations