Search in sources :

Example 1 with UrlFileProvider

use of org.apache.commons.vfs2.provider.url.UrlFileProvider 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());
}
Also used : JarFileProvider(org.apache.commons.vfs2.provider.jar.JarFileProvider) UrlFileProvider(org.apache.commons.vfs2.provider.url.UrlFileProvider)

Aggregations

JarFileProvider (org.apache.commons.vfs2.provider.jar.JarFileProvider)1 UrlFileProvider (org.apache.commons.vfs2.provider.url.UrlFileProvider)1