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; } } )); }
public FTPFileEntryParser createOS2FTPEntryParser() { return new OS2FTPEntryParser(); }