本文整理汇总了Java中org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory类的典型用法代码示例。如果您正苦于以下问题:Java DefaultFTPFileEntryParserFactory类的具体用法?Java DefaultFTPFileEntryParserFactory怎么用?Java DefaultFTPFileEntryParserFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DefaultFTPFileEntryParserFactory类属于org.apache.commons.net.ftp.parser包,在下文中一共展示了DefaultFTPFileEntryParserFactory类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: FTPClient
import org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory; //导入依赖的package包/类
public FTPClient() {
this.__initDefaults();
this.__dataTimeout = -1;
this.__remoteVerificationEnabled = true;
this.__parserFactory = new DefaultFTPFileEntryParserFactory();
this.__configuration = null;
this.__listHiddenFiles = false;
this.__useEPSVwithIPv4 = false;
this.__random = new Random();
this.__passiveLocalHost = null;
}
示例2: FTPClient
import org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory; //导入依赖的package包/类
/**
* Default FTPClient constructor. Creates a new FTPClient instance
* with the data connection mode set to
* <code> ACTIVE_LOCAL_DATA_CONNECTION_MODE </code>, the file type
* set to <code> FTP.ASCII_FILE_TYPE </code>, the
* file format set to <code> FTP.NON_PRINT_TEXT_FORMAT </code>,
* the file structure set to <code> FTP.FILE_STRUCTURE </code>, and
* the transfer mode set to <code> FTP.STREAM_TRANSFER_MODE </code>.
* <p>
* The list parsing auto-detect feature can be configured to use lenient future
* dates (short dates may be up to one day in the future) as follows:
* <pre>
* FTPClient ftp = new FTPClient();
* FTPClientConfig config = new FTPClientConfig();
* config.setLenientFutureDates(true);
* ftp.configure(config );
* </pre>
*/
public FTPClient()
{
__initDefaults();
__dataTimeout = -1;
__remoteVerificationEnabled = true;
__parserFactory = new DefaultFTPFileEntryParserFactory();
__configuration = null;
__listHiddenFiles = false;
__useEPSVwithIPv4 = false;
__random = new Random();
__passiveLocalHost = null;
}
示例3: FTPClient
import org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory; //导入依赖的package包/类
/**
* Default FTPClient constructor. Creates a new FTPClient instance
* with the data connection mode set to
* <code> ACTIVE_LOCAL_DATA_CONNECTION_MODE </code>, the file type
* set to <code> FTP.ASCII_FILE_TYPE </code>, the
* file format set to <code> FTP.NON_PRINT_TEXT_FORMAT </code>,
* the file structure set to <code> FTP.FILE_STRUCTURE </code>, and
* the transfer mode set to <code> FTP.STREAM_TRANSFER_MODE </code>.
* <p>
* The list parsing auto-detect feature can be configured to use lenient future
* dates (short dates may be up to one day in the future) as follows:
* <pre>
* FTPClient ftp = new FTPClient();
* FTPClientConfig config = new FTPClientConfig();
* config.setLenientFutureDates(true);
* ftp.configure(config );
* </pre>
*/
public FTPClient() {
__initDefaults();
__dataTimeout = -1;
__remoteVerificationEnabled = true;
__parserFactory = new DefaultFTPFileEntryParserFactory();
__configuration = null;
__listHiddenFiles = false;
__useEPSVwithIPv4 = false;
__random = new Random();
__passiveLocalHost = null;
}