Java Code Examples for org.apache.commons.vfs2.provider.ftps.FtpsFileProvider

The following examples show how to use org.apache.commons.vfs2.provider.ftps.FtpsFileProvider. These examples are extracted from open source projects. 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 Project: spoofax   Source File:    License: Apache License 2.0 6 votes vote down vote up
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 Project: commons-vfs   Source File:    License: Apache License 2.0 4 votes vote down vote up
 * Prepares the file system manager.
public void prepare(final DefaultFileSystemManager manager) throws Exception {
    manager.addProvider("ftps", new FtpsFileProvider());