/** * Return the FTPS mode. Defaults to "explicit" if not defined. * * @param opts The FileSystemOptions. * @return The file type. * @see #setFtpsType */ public FtpsMode getFtpsMode(final FileSystemOptions opts) { return getEnum(FtpsMode.class, opts, FTPS_MODE, FtpsMode.EXPLICIT); }
/** * Gets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @return The PROT value. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public FtpsDataChannelProtectionLevel getDataChannelProtectionLevel(final FileSystemOptions opts) { return getEnum(FtpsDataChannelProtectionLevel.class, opts, PROT); }
/** * Gets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @return The PROT value. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public FtpsDataChannelProtectionLevel getDataChannelProtectionLevel(final FileSystemOptions opts) { return getEnum(FtpsDataChannelProtectionLevel.class, opts, PROT); }
/** * Return the FTPS mode. Defaults to "explicit" if not defined. * * @param opts The FileSystemOptions. * @return The file type. * @see #setFtpsType */ public FtpsMode getFtpsMode(final FileSystemOptions opts) { return getEnum(FtpsMode.class, opts, FTPS_MODE, FtpsMode.EXPLICIT); }
/** * Gets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @return The PROT value. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public FtpsDataChannelProtectionLevel getDataChannelProtectionLevel(final FileSystemOptions opts) { return getEnum(FtpsDataChannelProtectionLevel.class, opts, PROT); }
/** * Returns the FTPS mode. Defaults to "explicit" if not defined. * * @param opts The FileSystemOptions. * @return The file type. * @see #setFtpsType */ public FtpsMode getFtpsMode(final FileSystemOptions opts) { return getEnum(FtpsMode.class, opts, FTPS_MODE, FtpsMode.EXPLICIT); }
/** * Gets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @return The PROT value. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public FtpsDataChannelProtectionLevel getDataChannelProtectionLevel(final FileSystemOptions opts) { return getEnum(FtpsDataChannelProtectionLevel.class, opts, PROT); }
/** * Return the FTPS mode. Defaults to "explicit" if not defined. * * @param opts The FileSystemOptions. * @return The file type. * @see #setFtpsType */ public FtpsMode getFtpsMode(final FileSystemOptions opts) { return getEnum(FtpsMode.class, opts, FTPS_MODE, FtpsMode.EXPLICIT); }