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

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