FTPClientConfig1

package org.apache.commons.net.ftp;

import java.text.DateFormatSymbols;
import java.util.*;

public class FTPClientConfig
{

    public FTPClientConfig(String systemKey)
    {
        defaultDateFormatStr = null;
        recentDateFormatStr = null;
        serverLanguageCode = null;
        shortMonthNames = null;
        serverTimeZoneId = null;
        serverSystemKey = systemKey;
    }

    public FTPClientConfig()
    {
        this("UNIX");
    }

    public FTPClientConfig(String systemKey, String defaultDateFormatStr, String recentDateFormatStr, String serverLanguageCode, String shortMonthNames, String serverTimeZoneId)
    {
        this(systemKey);
        this.defaultDateFormatStr = defaultDateFormatStr;
        this.recentDateFormatStr = recentDateFormatStr;
        this.serverLanguageCode = serverLanguageCode;
        this.shortMonthNames = shortMonthNames;
        this.serverTimeZoneId = serverTimeZoneId;
    }

    public String getServerSystemKey()
    {
        return serverSystemKey;
    }

    public String getDefaultDateFormatStr()
    {
        return defaultDateFormatStr;
    }

    public String getRecentDateFormatStr()
    {
        return recentDateFormatStr;
    }

    public String getServerTimeZoneId()
    {
        return serverTimeZoneId;
    }

    public String getShortMonthNames()
    {
        return shortMonthNames;
    }

    public String getServerLanguageCode()
    {
        return serverLanguageCode;
    }

    public void setDefaultDateFormatStr(String defaultDateFormatStr)
    {
        this.defaultDateFormatStr = defaultDateFormatStr;
    }

    public void setRecentDateFormatStr(String recentDateFormatStr)
    {
        this.recentDateFormatStr = recentDateFormatStr;
    }

你可能感兴趣的:(java,apache,.net,unix)