Example usage for org.apache.commons.net.ftp.parser NetwareFTPEntryParser NetwareFTPEntryParser

List of usage examples for org.apache.commons.net.ftp.parser NetwareFTPEntryParser NetwareFTPEntryParser

Introduction

In this page you can find the example usage for org.apache.commons.net.ftp.parser NetwareFTPEntryParser NetwareFTPEntryParser.

Prototype

public NetwareFTPEntryParser() 

Source Link

Document

The default constructor for a NetwareFTPEntryParser object.

Usage

From source file:ch.cyberduck.core.ftp.FTPParserFactory.java

private CompositeFileEntryParser createNetwareFTPEntryParser(final TimeZone timezone) {
    return new CompositeFileEntryParser(Arrays.asList(new NetwareFTPEntryParser() {
        @Override/*w  w  w  .  j  a  v  a 2 s . c  o m*/
        protected FTPClientConfig getDefaultConfiguration() {
            final FTPClientConfig config = super.getDefaultConfiguration();
            config.setServerTimeZoneId(timezone.getID());
            return config;
        }
    }, this.createUnixFTPEntryParser(timezone)));
}