Java 类org.apache.commons.net.ftp.parser.OS2FTPEntryParser 实例源码

项目:cyberduck    文件:FTPParserFactory.java   
private CompositeFileEntryParser createOS2FTPEntryParser(final TimeZone timezone) {
    return new CompositeFileEntryParser(Arrays.asList(
            new OS2FTPEntryParser() {
                @Override
                protected FTPClientConfig getDefaultConfiguration() {
                    final FTPClientConfig config = super.getDefaultConfiguration();
                    config.setServerTimeZoneId(timezone.getID());
                    return config;
                }
            }
    ));
}
项目:xdm    文件:DefaultFTPFileEntryParserFactory.java   
public FTPFileEntryParser createOS2FTPEntryParser() {
   return new OS2FTPEntryParser();
}