Examples of FtpTransferType


Examples of org.jitterbit.integration.data.location.ftp.FtpTransferType

    /**
     * Sets the transfer type to use for the file transfer. Available transfer types are
     * <code>FtpTransferType.Binary</code> and <code>FtpTransferType.Ascii</code>.
     */
    public void setTransferType(FtpTransferType type) {
        FtpTransferType old;
        synchronized (getDataLock()) {
            old = getTransferType();
            setProperty(PROPERTY_TRANSFER_TYPE, String.valueOf(type.getId()));
        }
        if (type != old) {
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpTransferType

    public static final EnumPreference<FtpTransferType> INSTANCE = create();
   
    private static EnumPreference<FtpTransferType> create() {
        String[] path = { LocatableGeneralPreferencesPage.PATH, "FTP" };
        String key = "TransferType";
        FtpTransferType def = FtpTransferType.Binary;
        return ApplicationConfiguration.getPreferenceFactory().newEnumPreference(path, key, def, FtpTransferType.class);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpTransferType

        switch (type) {
        case FTP:
            FtpLocation ftp = (FtpLocation) loc;
            FtpSecurityOption secOption = FtpSecurityOptionPreference.INSTANCE.get();
            ftp.setSecurityOption(secOption);
            FtpTransferType transfType = FtpTransferTypePreference.INSTANCE.get();
            ftp.setTransferType(transfType);
            break;
        default:
            // Nothing to do at the moment.
        }
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpTransferType

        UiProvider ui = buttons.getUi(label, RadioButtonGroupPanel.Layout.ONE_COLUMN);
        wrap(ui);
    }

    private FtpTransferType getTransferType() {
        FtpTransferType type = buttons.getSelection();
        if (type == null) {
            type = FtpTransferType.Binary;
        }
        return type;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.