Example usage for org.apache.commons.net.ftp.parser FTPTimestampParser DEFAULT_RECENT_SDF

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

Introduction

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

Prototype

String DEFAULT_RECENT_SDF

To view the source code for org.apache.commons.net.ftp.parser FTPTimestampParser DEFAULT_RECENT_SDF.

Click Source Link

Document

the default recent date format.

Usage

From source file:ch.cyberduck.core.ftp.parser.CommonUnixFTPEntryParser.java

/**
 * Defines a default configuration to be used when this class is
 * instantiated without a {@link  FTPClientConfig  FTPClientConfig}
 * parameter being specified./*from w w w .  ja  v  a  2 s  .  c  om*/
 *
 * @return the default configuration for this parser.
 */
@Override
protected FTPClientConfig getDefaultConfiguration() {
    final FTPClientConfig config = new FTPClientConfig(FTPClientConfig.SYST_UNIX,
            FTPTimestampParser.DEFAULT_SDF, FTPTimestampParser.DEFAULT_RECENT_SDF, null, null, null);
    config.setLenientFutureDates(true);
    return config;
}