org.apache.commons.vfs2.provider.ftps.FtpsFileProvider Java Examples
The following examples show how to use
org.apache.commons.vfs2.provider.ftps.FtpsFileProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultFileSystemManagerProvider.java From spoofax with Apache License 2.0 | 6 votes |
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()); }
Example #2
Source File: AbstractFtpsProviderTestCase.java From commons-vfs with Apache License 2.0 | 4 votes |
/** * Prepares the file system manager. */ @Override public void prepare(final DefaultFileSystemManager manager) throws Exception { manager.addProvider("ftps", new FtpsFileProvider()); }