org.neociclo.odetteftp.support
Class PropertiesBasedConfiguration

java.lang.Object
  extended by org.neociclo.odetteftp.support.OdetteFtpConfiguration
      extended by org.neociclo.odetteftp.support.PropertiesBasedConfiguration
All Implemented Interfaces:
Serializable

public class PropertiesBasedConfiguration
extends OdetteFtpConfiguration

Version:
$Rev: 818 $ $Date: 2010-10-20 22:18:00 -0200 (Wed, 20 Oct 2010) $
Author:
Rafael Marins
See Also:
Serialized Form

Field Summary
static String CIPHER_SUITE_PROP
           
static String COMPRESSION_PROP
           
static String DATA_EXCHANGE_BUFFER_PROP
           
static String RESTART_PROP
           
static String SECURE_AUTHENTICATION_PROP
           
static String SPECIAL_LOGIC_PROP
           
static String TRANSFER_MODE_PROP
           
static String USER_DATA_PROP
           
static String VERSION_PROP
           
static String WINDOW_PROP
           
 
Constructor Summary
PropertiesBasedConfiguration()
           
 
Method Summary
 void load(InputStream inStream)
           
 void load(Reader reader)
           
 void loadFromXml(InputStream inStream)
           
 void store(OutputStream outStream, String comments)
           
 void store(Writer writer, String comments)
           
 void storeToXml(OutputStream outStream, String comments)
           
 void storeToXml(OutputStream outStream, String comments, String encoding)
           
 
Methods inherited from class org.neociclo.odetteftp.support.OdetteFtpConfiguration
getCipherSuiteSelection, getDataExchangeBufferSize, getHasSpecialLogic, getTransferMode, getUseCompression, getUserData, getUseRestart, getVersion, getWindowSize, setCipherSuiteSelection, setDataExchangeBufferSize, setHasSpecialLogic, setTransferMode, setup, setUseCompression, setUserData, setUseRestart, setUseSecureAuthentication, setVersion, setWindowSize, useSecureAuthentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSFER_MODE_PROP

public static final String TRANSFER_MODE_PROP
See Also:
Constant Field Values

DATA_EXCHANGE_BUFFER_PROP

public static final String DATA_EXCHANGE_BUFFER_PROP
See Also:
Constant Field Values

WINDOW_PROP

public static final String WINDOW_PROP
See Also:
Constant Field Values

COMPRESSION_PROP

public static final String COMPRESSION_PROP
See Also:
Constant Field Values

RESTART_PROP

public static final String RESTART_PROP
See Also:
Constant Field Values

SPECIAL_LOGIC_PROP

public static final String SPECIAL_LOGIC_PROP
See Also:
Constant Field Values

SECURE_AUTHENTICATION_PROP

public static final String SECURE_AUTHENTICATION_PROP
See Also:
Constant Field Values

CIPHER_SUITE_PROP

public static final String CIPHER_SUITE_PROP
See Also:
Constant Field Values

USER_DATA_PROP

public static final String USER_DATA_PROP
See Also:
Constant Field Values

VERSION_PROP

public static final String VERSION_PROP
See Also:
Constant Field Values
Constructor Detail

PropertiesBasedConfiguration

public PropertiesBasedConfiguration()
Method Detail

loadFromXml

public void loadFromXml(InputStream inStream)
                 throws IOException
Throws:
IOException

load

public void load(InputStream inStream)
          throws IOException
Throws:
IOException

load

public void load(Reader reader)
          throws IOException
Throws:
IOException

storeToXml

public void storeToXml(OutputStream outStream,
                       String comments)
                throws IOException
Throws:
IOException

storeToXml

public void storeToXml(OutputStream outStream,
                       String comments,
                       String encoding)
                throws IOException
Throws:
IOException

store

public void store(OutputStream outStream,
                  String comments)
           throws IOException
Throws:
IOException

store

public void store(Writer writer,
                  String comments)
           throws IOException
Throws:
IOException


ACCORD