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

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

Introduction

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

Prototype

public OS2FTPEntryParser() 

Source Link

Document

The default constructor for a OS2FTPEntryParser object.

Usage

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

private CompositeFileEntryParser createOS2FTPEntryParser(final TimeZone timezone) {
    return new CompositeFileEntryParser(Arrays.asList(new OS2FTPEntryParser() {
        @Override//from w  ww  .j a  va2  s  .co  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 createOS2FTPEntryParser() {
    return (FTPFileEntryParser) new OS2FTPEntryParser();
}