当前位置: 首页>>代码示例>>Java>>正文


Java DefaultFTPFileEntryParserFactory类代码示例

本文整理汇总了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;
}
 
开发者ID:Bolt-Thrower,项目名称:xdm,代码行数:12,代码来源:FTPClient.java

示例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;
}
 
开发者ID:archos-sa,项目名称:aos-FileCoreLibrary,代码行数:31,代码来源:FTPClient.java

示例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;
}
 
开发者ID:AriaLyy,项目名称:Aria,代码行数:30,代码来源:FTPClient.java


注:本文中的org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。