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

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

Introduction

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

Prototype

public MVSFTPEntryParser() 

Source Link

Document

The sole constructor for a MVSFTPEntryParser object.

Usage

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

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

From source file:org.openo.nfvo.emsdriver.commons.ftp.ExtendsDefaultFTPFileEntryParserFactory.java

public FTPFileEntryParser createMVSEntryParser() {
    return new MVSFTPEntryParser();
}