use of ch.cyberduck.core.ftp.parser.TrellixFTPEntryParser in project cyberduck by iterate-ch.
the class FTPParserFactory method createUnixFTPEntryParser.
private CompositeFileEntryParser createUnixFTPEntryParser(final TimeZone timezone) {
return new CompositeFileEntryParser(Arrays.asList(new LaxUnixFTPEntryParser() {
@Override
protected FTPClientConfig getDefaultConfiguration() {
final FTPClientConfig config = super.getDefaultConfiguration();
config.setServerTimeZoneId(timezone.getID());
return config;
}
}, new EPLFFTPEntryParser(), new RumpusFTPEntryParser() {
@Override
protected FTPClientConfig getDefaultConfiguration() {
final FTPClientConfig config = super.getDefaultConfiguration();
config.setServerTimeZoneId(timezone.getID());
return config;
}
}, new TrellixFTPEntryParser() {
@Override
protected FTPClientConfig getDefaultConfiguration() {
final FTPClientConfig config = super.getDefaultConfiguration();
config.setServerTimeZoneId(timezone.getID());
return config;
}
}, new UnitreeFTPEntryParser() {
@Override
protected FTPClientConfig getDefaultConfiguration() {
final FTPClientConfig config = super.getDefaultConfiguration();
config.setServerTimeZoneId(timezone.getID());
return config;
}
}));
}
Aggregations