com.ibm.eNetwork.beans.HOD
Class FileTransfer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--com.ibm.eNetwork.HOD.common.gui.HPanel
                                |
                                +--com.ibm.eNetwork.beans.HOD.HODPanelBean
                                      |
                                      +--com.ibm.eNetwork.beans.HOD.FileTransfer
All Implemented Interfaces:
javax.accessibility.Accessible, java.lang.Cloneable, CommListener, java.util.EventListener, java.io.Externalizable, com.ibm.eNetwork.beans.HOD.intf.FileTransferIntf, com.ibm.eNetwork.HOD.common.HODConstants, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, TraceProducer

public class FileTransfer
extends HODPanelBean
implements CommListener, com.ibm.eNetwork.beans.HOD.intf.FileTransferIntf

The FileTransfer Bean allows users to send files from a workstation to a host or receive files from a host to a workstation. The FileTransfer Bean displays a user interface that the user interacts with to provide the information necessary to transfer the file.

For each host, there are transfer options used when sending or receiving a file. The options differ based on whether the file being transferred is binary or text and whether the file is being sent to the host or received from the host. The FileTransfer Bean provides a default set of options that can be changed by modifying the appropriate FileTransfer properties. For a more detailed explanation of what these options mean and the list of available options, see the ECLXfer class.

Arabic and Hebrew (bidirectional) language support: Some of the methods, fields and parameters in this class exclusively support bidirectional hosts. It is assumed that the programmer is familiar with the Arabic or Hebrew language and that a bidi-enabled operating system is loaded. There are conventions in the usage and limitations in the implementation of bidirectional language support. These are discussed in considerable detail in the Online Help document available with the companion IBM Host On-Demand product: choose "Contents", then "National language support", and finally "Bidirectional language support."

Properties

The following table lists the properties of the FileTransfer Bean:

* - Properties with type "enum" are String types that accept a specific set of string values. The valid values for an enum property can be obtained by calling the list <property name> method. The set method for enum properties validates the value before any changes are accepted, and a PropertyVetoException is thrown if an incorrect value is given.

Note: All properties are bound and vetoable. A PropertyChangeEvent is fired to all PropertyChangeListeners after a property is changed. A VetoableChangeEvent is fired to all VetoableChangeListeners before a property is changed. VetoableChangeListeners can veto a property change by throwing a PropertyVetoException.

Property Name Type Default Access
buttonTextVisible boolean true is/set
CICSDefaultMode enum* BINARY get/set
CICSGetBinary String ( BINARY NOCRLF get/set
CICSGetText String ( ASCII CRLF get/set
CICSPutBinary String ( BINARY NOCRLF get/set
CICSPutText String ( ASCII CRLF get/set
codePage enum* See Session get/set
hostFileOrientation enum* LEFT_TO_RIGHT get/set
hostType enum* MVS_TSO get/set
Lam_AlefCompression enum* LAM_ALEF_COMPRESSION_ON get/set
Lam_AlefExpansion enum* LAM_ALEF_EXPANSION_ON get/set
MVSDefaultMode enum* TEXT get/set
MVSGetBinary String get/set
MVSGetText String ASCII CRLF get/set
MVSPutBinary String RECFM(V) get/set
MVSPutText String ASCII CRLF RECFM(V) LRECL(133) get/set
Numerals enum* NUMERALS_NOMINAL get/set
pause int 1500 get/set
PCCodePage enum* 437 get/set
PCFileOrientation enum* LEFT_TO_RIGHT get/set
PCFileType enum* IMPLICIT get/set
Round_Trip enum* ROUND_TRIP_ON get/set
Sym_Swap enum* SYM_SWAP_ON get/set
timeoutValue int 30 get/set
MTUSize int 2500 get/set
VMDefaultMode enum* TEXT get/set
VMGetBinary String ( get/set
VMGetText String ( ASCII CRLF get/set
VMPutBinary String ( RECFM V get/set
VMPutText String ( ASCII CRLF RECFM V LRECL 133 get/set
OS400DefaultMode enum* TEXT get/set
OS400GetBinary String ( get/set
OS400GetText String ( ASCII CRLF get/set
OS400PutBinary String ( DTA LRECL(80) get/set
OS400PutText String ( ASCII SRC CRLF LRECL(80) get/set
OS400XferUserID String QUSER get/set
OS400XferDstAddr String get/set
OS400ProxyServerEnabled boolean false is/set
OS400ProxyServerDstAddr String get/set
OS400ProxyServerDstPort int 3470 get/set

Events Fired

Event Type Fired To Event Handler Method
FocusEvent - Fired when the FileTransfer Bean gains focus. Any FocusListener focusGained(FocusEvent)
PropertyChangeEvent - Fired when a property of the Bean is changed. Any PropertyChangeListener propertyChange(propertyChangeEvent)
VetoableChangeEvent - Fired when a vetoable property of the Bean is changed. Any VetoableChangeListener vetoableChange(PropertyChangeEvent)

Events Accepted

Event Type Fired From Event Handler Method
CommEvent Terminal, Session commEvent(commEvent)
PropertyChangeEvent Terminal, Session propertyChange(propertyChangeEvent)

Class Inheritance

The libraries containing this class are available in two versions: java2 and jdk1.1.8. This class document represents a compilation using Java 2 and its core libraries. The class inheritance scheme is shown above.

The alternative library was compiled with JDK 1.1.8. The result is a slightly different derivation, illustrated in this following class inheritance fragment.

         |
         +--java.awt.Container
               |
               +--java.awt.Panel
                     |
                     +--com.ibm.eNetwork.HOD.common.gui.HPanel
                           |
                           +--
 

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
static java.lang.String BINARY
          MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Binary file
static java.lang.String BUTTON_TEXT_VISIBLE
          buttonTextVisible property keyword
static java.lang.String CICS
          hostType property value - CICS Host
static java.lang.String CICS_CLEAR
          CICSClear property keyword
static java.lang.String CICS_DEFAULT_MODE
          CICSDefaultMode property keyword
static java.lang.String CICS_GET_BINARY
          CICSGetBinary property keyword
static java.lang.String CICS_GET_TEXT
          CICSGetText property keyword
static java.lang.String CICS_PUT_BINARY
          CICSPutBinary property keyword
static java.lang.String CICS_PUT_TEXT
          CICSPutText property keyword
static java.lang.String CODE_PAGE
          codePage property keyword
static java.lang.String HOST_FILE_ORIENTATION
          hostFileOrientation property keyword, this keyword only applies to bi-directional hosts
static java.lang.String HOST_TYPE
          hostType property keyword
static java.lang.String IMPLICIT
          PCFileType property value - IMPLICIT, this value only applies to bi-directional hosts
static java.lang.String LAM_ALEF_COMPRESSION
          Lam_AlefCompression property keyword, this keyword only applies to Arabic hosts
static java.lang.String LAM_ALEF_COMPRESSION_OFF
          Lam_AlefCompression property value - Lam_AlefCompressionOff, this value only applies to Arabic hosts
static java.lang.String LAM_ALEF_COMPRESSION_ON
          Lam_AlefCompression property value - Lam_AlefCompressionOn, this value only applies to Arabic hosts
static java.lang.String LAM_ALEF_EXPANSION
          Lam_AlefExpansion property keyword, this keyword only applies to Arabic hosts
static java.lang.String LAM_ALEF_EXPANSION_OFF
          Lam_AlefExpansion property value - Lam_AlefExpansionOff, this value only applies to Arabic hosts
static java.lang.String LAM_ALEF_EXPANSION_ON
          Lam_AlefExpansion property value - Lam_AlefExpansionOn, this value only applies to Arabic hosts
static java.lang.String LEFT_TO_RIGHT
          hostFileOrientation, PCFileOrientation property value - LEFTTORIGHT file, this value only applies to bi-directional hosts
static java.lang.String MTU_SIZE
          MTU_SIZE property keyword
static java.lang.String MVS_CLEAR
          MVSClear property keyword
static java.lang.String MVS_DEFAULT_MODE
          MVSDefaultMode property keyword
static java.lang.String MVS_GET_BINARY
          MVSGetBinary property keyword
static java.lang.String MVS_GET_TEXT
          MVSGetText property keyword
static java.lang.String MVS_PUT_BINARY
          MVSPutBinary property keyword
static java.lang.String MVS_PUT_TEXT
          MVSPutText property keyword
static java.lang.String MVS_TSO
          hostType property value - MVS/TSO Host
static java.lang.String NUMERALS
          Numerals property keyword, this keyword only applies to Arabic hosts
static java.lang.String NUMERALS_CONTEXTUAL
          Numerals property value - Numerals_Contextual, this value only applies to Arabic hosts
static java.lang.String NUMERALS_NATIONAL
          Numerals property value - Numerals_National, this value only applies to Arabic hosts
static java.lang.String NUMERALS_NOMINAL
          Numerals property value - Numerals_Nominal, this value only applies to Arabic hosts
static java.lang.String OS400
          hostType property value - OS/400 Host
static java.lang.String OS400_DEFAULT_MODE
          OS400DefaultMode property keyword
static java.lang.String OS400_GET_BINARY
          OS400GetBinary property keyword
static java.lang.String OS400_GET_TEXT
          OS400GetText property keyword
static java.lang.String OS400_PROXY_SERVER_DSTADDR
          OS400ProxyServerDstAddr property keyword
static java.lang.String OS400_PROXY_SERVER_DSTPORT
          OS400ProxyServerDstPort property keyword
static java.lang.String OS400_PROXY_SERVER_ENABLED
          OS400ProxyServerEnabled property keyword
static java.lang.String OS400_PUT_BINARY
          OS400PutBinary property keyword
static java.lang.String OS400_PUT_TEXT
          OS400PutText property keyword
static java.lang.String OS400_XFER_DSTADDR
          OS400XferDstAddr property keyword
static java.lang.String OS400_XFER_USERID
          OS400XferUserID property keyword
static java.lang.String PAUSE
          pause property keyword
static java.lang.String PC_CODE_PAGE
          PCCodePage property keyword
static java.lang.String PC_FILE_ORIENTATION
          PCFileOrientation property keyword, this keyword only applies to bi-directional hosts
static java.lang.String PC_FILE_TYPE
          PCFileType property keyword, this keyword only applies to bi-directional hosts
static java.lang.String RIGHT_TO_LEFT
          hostFileOrientation, PCFileOrientation property value - RIGHTTOLEFT file, this value only applies to bi-directional hosts
static java.lang.String ROUND_TRIP
          Round_Trip property keyword, this keyword only applies to bi-directional hosts
static java.lang.String ROUND_TRIP_OFF
          Round_Trip property value - Round_TripOff, this value only applies to bi-directional hosts
static java.lang.String ROUND_TRIP_ON
          Round_Trip property value - Round_TripOn, this value only applies to bi-directional hosts
static java.lang.String SYM_SWAP
          Sym_Swap property keyword, this keyword only applies to bi-directional hosts
static java.lang.String SYM_SWAP_OFF
          Sym_Swap property value - Sym_SwapOff, this value only applies to bi-directional hosts
static java.lang.String SYM_SWAP_ON
          Sym_Swap property value - Sym_SwapOn, this value only applies to bi-directional hosts
static java.lang.String TEXT
          MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Text file
static java.lang.String TIMEOUT_VALUE
          timeoutValue property keyword
static java.lang.String VISUAL
          PCFileType property value - VISUAL, this value only applies to bi-directional hosts
static java.lang.String VM_CLEAR
          VMClear property keyword
static java.lang.String VM_CMS
          hostType property value - VM/CMS Host
static java.lang.String VM_DEFAULT_MODE
          VMDefaultMode property keyword
static java.lang.String VM_GET_BINARY
          VMGetBinary property keyword
static java.lang.String VM_GET_TEXT
          VMGetText property keyword
static java.lang.String VM_PUT_BINARY
          VMPutBinary property keyword
static java.lang.String VM_PUT_TEXT
          VMPutText property keyword
 
Fields inherited from class com.ibm.eNetwork.beans.HOD.HODPanelBean
BEAN_VERSION_STRING, TRACE_LEVEL, TRACE_MAXIMUM, TRACE_MINIMUM, TRACE_NONE, TRACE_NORMAL
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.ibm.eNetwork.beans.HOD.intf.FileTransferIntf
HOD_SHOW_DEFAULTS_DIALOG, HOD_SHOW_RECV_DIALOG, HOD_SHOW_SEND_DIALOG
 
Fields inherited from interface com.ibm.eNetwork.HOD.common.HODConstants
DEFAULT_WIN_FONT, HOD_ICON_EVENT, HOD_MSG_FILE, HOD_RAS_COMPID_ADVMACRO, HOD_RAS_COMPID_ASSOC_PRT, HOD_RAS_COMPID_BLINKREMAP, HOD_RAS_COMPID_CODEPAGE, HOD_RAS_COMPID_COLORREMAP, HOD_RAS_COMPID_CONFIG, HOD_RAS_COMPID_FILETRANSFER, HOD_RAS_COMPID_FTP_SCREEN, HOD_RAS_COMPID_FTP_SESSION, HOD_RAS_COMPID_FTP_TERMINAL, HOD_RAS_COMPID_FUDOMA, HOD_RAS_COMPID_HOD_API, HOD_RAS_COMPID_IMPEXP, HOD_RAS_COMPID_JNILOAD, HOD_RAS_COMPID_KEYPAD, HOD_RAS_COMPID_KEYREMAP, HOD_RAS_COMPID_MACRO, HOD_RAS_COMPID_MACROMANGR, HOD_RAS_COMPID_PRT_TERMINAL, HOD_RAS_COMPID_SCREEN, HOD_RAS_COMPID_SESSION, HOD_RAS_COMPID_SESSION_MGR, HOD_RAS_COMPID_SLP, HOD_RAS_COMPID_TERMINAL, HOD_RAS_COMPID_ZIPPRINT, HOD_RAS_FUNC_NAME, HOD_START_UP, HOD_TRANSFER_FILE_INFO, MOUSE_DOUBLE_CLICK_THRESHOLD, XFER_ASCII_GET_OPTIONS, XFER_ASCII_GET_OPTIONS_DEFAULT, XFER_ASCII_PUT_OPTIONS, XFER_ASCII_PUT_OPTIONS_DEFAULT, XFER_BINARY_GET_OPTIONS, XFER_BINARY_GET_OPTIONS_DEFAULT, XFER_BINARY_PUT_OPTIONS, XFER_BINARY_PUT_OPTIONS_DEFAULT, XFER_DEFAULT_OPTIONS, XFER_FILETYPE_DTA, XFER_FILETYPE_SAVF, XFER_FILETYPE_SRC, XFER_HOST_TYPE, XFER_HOST_TYPE_CICS, XFER_HOST_TYPE_CMS, XFER_HOST_TYPE_DEFAULT, XFER_HOST_TYPE_OS400, XFER_HOST_TYPE_TSO, XFER_PACKET_SIZE, XFER_PACKET_SIZE_DEFAULT, XFER_TIME_OUT_VALUE, XFER_TIME_OUT_VALUE_DEFAULT, XFER_TRANSFER_MODE, XFER_TRANSFER_MODE_ASCII, XFER_TRANSFER_MODE_BINARY, XFER_TRANSFER_MODE_DEFAULT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FileTransfer()
          Constructor which uses the default values for all properties.
FileTransfer(java.util.Properties newProperties)
          Constructor which takes a Properties object containing the initial property settings.
 
Method Summary
 void CommEvent(CommEvent evt)
          Handler method for CommEvents.
static java.util.Properties defaults()
          Returns a Properties object containing the default properties for the FileTransfer Bean.
 java.lang.String getCICSDefaultMode()
          Returns the current CICS default mode.
 java.lang.String getCICSGetBinary()
          Returns the current CICS "Get" Binary string.
 java.lang.String getCICSGetText()
          Returns the current CICS "Get" Text string.
 java.lang.String getCICSPutBinary()
          Returns the current CICS "Put" Binary string.
 java.lang.String getCICSPutText()
          Returns the current CICS "Put" Text string.
 java.lang.String getCodePage()
          Returns the current value of the host codePage property.
 java.lang.String getHostFileOrientation()
          Returns the current setting of the HostFileOrientation property.
 java.lang.String getHostType()
          Returns the current value of the hostType property.
 java.lang.String getLam_AlefCompression()
          Returns the current setting of the Lam_AlefCompression property.
 java.lang.String getLam_AlefExpansion()
          Returns the current setting of the Lam_AlefExpansion property.
 int getMTUSize()
          Gets the MTU Size property.
 java.lang.String getMVSDefaultMode()
          Returns the current MVS default mode.
 java.lang.String getMVSGetBinary()
          Returns the current MVS "Get" Binary string.
 java.lang.String getMVSGetText()
          Returns the current MVS "Get" Text string.
 java.lang.String getMVSPutBinary()
          Returns the current MVS "Put" Binary string.
 java.lang.String getMVSPutText()
          Returns the current MVS "Put" Text string.
 java.lang.String getNumerals()
          Returns the current setting of the Numerals property.
 java.lang.String getOS400DefaultMode()
          Returns the current OS400 default mode.
 java.lang.String getOS400GetBinary()
          Returns the current OS400 "Get" Binary string.
 java.lang.String getOS400GetText()
          Returns the current OS400 "Get" Text string.
 java.lang.String getOS400ProxyServerDstAddr()
          Returns the current Proxy Server destination address.
 int getOS400ProxyServerDstPort()
          Returns the current Proxy Server destination port.
 java.lang.String getOS400PutBinary()
          Returns the current OS400 "Put" Binary string.
 java.lang.String getOS400PutText()
          Returns the current OS400 "Put" Text string.
 java.lang.String getOS400XferDstAddr()
          Returns the current OS400 File transfer destination address.
 java.lang.String getOS400XferUserID()
          Returns the current OS400 File transfer user ID.
 int getPause()
          Returns the current setting of the pause property.
 java.lang.String getPCCodePage()
          Returns the current value of the PCCodePage property.
 java.lang.String getPCFileOrientation()
          Returns the current setting of the PCFileOrientation property.
 java.lang.String getPCFileType()
          Returns the current setting of the PCFileType property.
 java.lang.String getRound_Trip()
          Returns the current setting of the Round_Trip property.
 java.lang.String getSym_Swap()
          Returns the current setting of the Sym_Swap property.
 int getTimeoutValue()
          Returns the current value of the timeoutValue property.
 java.lang.String getTraceName()
          Returns a trace identifier for this bean
 java.lang.String getVMDefaultMode()
          Returns the current VM default mode.
 java.lang.String getVMGetBinary()
          Returns the current VM "Get" Binary string.
 java.lang.String getVMGetText()
          Returns the current VM "Get" Text string.
 java.lang.String getVMPutBinary()
          Returns the current VM "Put" Binary string.
 java.lang.String getVMPutText()
          Returns the current VM "Put" Text string.
 boolean isButtonTextVisible()
          Returns the current setting of the buttonTextVisible property.
 boolean isCICSClear()
          Returns the current CICS Clear setting.
 boolean isMVSClear()
          Returns the current MVS Clear setting.
 boolean isOS400ProxyServerEnabled()
          Returns whether the Proxy Server is enabled(True) or not(False).
 boolean isVMClear()
          Returns the current VM Clear setting.
static java.util.Enumeration listCICSDefaultModes()
          Lists the valid CICSDefaultMode values.
 java.util.Enumeration listCodePages()
          Returns a list of the valid host codePages.
static java.util.Enumeration listHostFileOrientations()
          Returns a list of the valid HostFileOrientation values.
static java.util.Enumeration listHostTypes()
          Returns the list of valid hostType values.
static java.util.Enumeration listLam_AlefCompression()
          Returns a list of the valid Lam_AlefCompression values.
static java.util.Enumeration listLam_AlefExpansion()
          Returns a list of the valid Lam_AlefExpansion values.
static java.util.Enumeration listMVSDefaultModes()
          Lists the valid MVSDefaultMode values.
static java.util.Enumeration listNumerals()
          Returns a list of the valid Numerals values.
static java.util.Enumeration listOS400DefaultModes()
          Lists the valid OS400 default mode values.
 java.util.Enumeration listPCCodePages()
          Returns a list of the valid PCCodePages.
static java.util.Enumeration listPCCodePages(java.lang.String codePage)
          Returns a list of the valid PCCodePage names.
static java.util.Enumeration listPCFileOrientations()
          Returns a list of the valid PCFileOrientation values.
static java.util.Enumeration listPCFileTypes()
          Returns a list of the valid PCFileType values.
static java.util.Enumeration listRound_Trip()
          Returns a list of the valid Round_Trip values.
static java.util.Enumeration listSym_Swap()
          Returns a list of the valid Sym_Swap values.
static java.util.Enumeration listVMDefaultModes()
          Lists the valid VMDefaultMode values.
 void propertyChange(java.beans.PropertyChangeEvent evt)
          Handler method for PropertyChangeEvents.
 void setButtonTextVisible(boolean visible)
          Sets the buttonTextVisible property.
 void setCICSClear(boolean clear)
          Sets the CICS Clear setting (True or False ).
 void setCICSDefaultMode(java.lang.String cicsDefaultMode)
          Sets the CICS default mode (text or binary).
 void setCICSGetBinary(java.lang.String cicsGetBinary)
          Sets the current CICS "Get" Binary string.
 void setCICSGetText(java.lang.String cicsGetText)
          Sets the current CICS "Get" Text string.
 void setCICSPutBinary(java.lang.String cicsPutBinary)
          Sets the current CICS "Put" Binary string.
 void setCICSPutText(java.lang.String cicsPutText)
          Sets the current CICS "Put" Text string.
 void setCodePage(java.lang.String codePage)
          Sets the host codePage property.
 void setHostFileOrientation(java.lang.String hostFileOrientation)
          Sets the HostFileOrientation property.
 void setHostType(java.lang.String hostType)
          Sets the hostType property.
 void setLam_AlefCompression(java.lang.String Lam_AlefCompression)
          Sets the Lam_AlefCompression property.
 void setLam_AlefExpansion(java.lang.String Lam_AlefExpansion)
          Sets the Lam_AlefExpansion property.
 void setMTUSize(int mtuSize)
          Sets the MTU Size property.
 void setMVSClear(boolean clear)
          Sets the MVS Clear setting (True or False ).
 void setMVSDefaultMode(java.lang.String mvsDefaultMode)
          Sets the MVS default mode (text or binary).
 void setMVSGetBinary(java.lang.String mvsGetBinary)
          Sets the current MVS "Get" Binary string.
 void setMVSGetText(java.lang.String mvsGetText)
          Sets the current MVS "Get" Text string.
 void setMVSPutBinary(java.lang.String mvsPutBinary)
          Sets the current MVS "Put" Binary string.
 void setMVSPutText(java.lang.String mvsPutText)
          Sets the current MVS "Put" Text string.
 void setNumerals(java.lang.String Numerals_Shaping)
          Sets the Numerals property.
 void setOS400DefaultMode(java.lang.String os400DefaultMode)
          Sets the OS400 default mode (text or binary).
 void setOS400GetBinary(java.lang.String os400GetBinary)
          Sets the current OS400 "Get" Binary string.
 void setOS400GetText(java.lang.String os400GetText)
          Sets the current OS400 "Get" Text string.
 void setOS400ProxyServerDstAddr(java.lang.String proxyAddr)
          Sets the Proxy server destination address
 void setOS400ProxyServerDstPort(int proxyPort)
          Sets the Proxy server destination port
 void setOS400ProxyServerEnabled(boolean enable)
          Sets whether Proxy Server is enabled(True) or not(False).
 void setOS400PutBinary(java.lang.String os400PutBinary)
          Sets the current OS400 "Put" Binary string.
 void setOS400PutText(java.lang.String os400PutText)
          Sets the current OS400 "Put" Text string.
 void setOS400XferDstAddr(java.lang.String dstaddr)
          Sets the destination address to perform OS400 File Transfer.
 void setOS400XferUserID(java.lang.String userID)
          Sets the current user ID to perform OS400 File Transfer.
 void setPause(int pauseValue)
          Sets the pause property.
 void setPCCodePage(java.lang.String pcCodePage)
          Sets the PCCodePage property.
 void setPCFileOrientation(java.lang.String pcFileOrientation)
          Sets the PCFileOrientation property.
 void setPCFileType(java.lang.String pft)
          Sets the PCFileType property.
 void setProperties(java.util.Properties properties)
          Sets properties for the FileTransfer Bean via a Properties object.
 void setRound_Trip(java.lang.String RoundTrip)
          Sets the Round_Trip property.
 void setSym_Swap(java.lang.String Symmetric_Swapping)
          Sets the Sym_Swap property.
 void setTimeoutValue(int timeOutValue)
          Sets the timeoutValue property.
 void setVMClear(boolean clear)
          Sets the VM Clear setting (True or False ).
 void setVMDefaultMode(java.lang.String vmDefaultMode)
          Sets the VM default mode (text or binary).
 void setVMGetBinary(java.lang.String vmGetBinary)
          Sets the current VM "Get" Binary string.
 void setVMGetText(java.lang.String vmGetText)
          Sets the current VM "Get" Text string.
 void setVMPutBinary(java.lang.String vmPutBinary)
          Sets the current VM "Put" Binary string.
 void setVMPutText(java.lang.String vmPutText)
          Sets the current VM "Put" Text string.
 
Methods inherited from class com.ibm.eNetwork.beans.HOD.HODPanelBean
addPropertyChangeListener, addTraceListener, addVetoableChangeListener, clone, dispose, getComponent, getFunction, getProperties, getTraceLevel, readExternal, removePropertyChangeListener, removeTraceListener, removeVetoableChangeListener, setTraceLevel, toString, writeExternal
 
Methods inherited from class com.ibm.eNetwork.HOD.common.gui.HPanel
add, createAssociation, paintComponent, setAccessDesc, setAccessibleName
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.eNetwork.beans.HOD.intf.FileTransferIntf
actionPerformed, addActionListener, addFocusListener, addHelpListener, dispose, isVisible, removeActionListener, removeFocusListener, removeHelpListener, setIOProvider, setParentFrame, setVisible
 

Field Detail

MVS_PUT_TEXT

public static final java.lang.String MVS_PUT_TEXT
MVSPutText property keyword

MVS_PUT_BINARY

public static final java.lang.String MVS_PUT_BINARY
MVSPutBinary property keyword

MVS_GET_TEXT

public static final java.lang.String MVS_GET_TEXT
MVSGetText property keyword

MVS_GET_BINARY

public static final java.lang.String MVS_GET_BINARY
MVSGetBinary property keyword

MVS_DEFAULT_MODE

public static final java.lang.String MVS_DEFAULT_MODE
MVSDefaultMode property keyword

MVS_CLEAR

public static final java.lang.String MVS_CLEAR
MVSClear property keyword

VM_PUT_TEXT

public static final java.lang.String VM_PUT_TEXT
VMPutText property keyword

VM_PUT_BINARY

public static final java.lang.String VM_PUT_BINARY
VMPutBinary property keyword

VM_GET_TEXT

public static final java.lang.String VM_GET_TEXT
VMGetText property keyword

VM_GET_BINARY

public static final java.lang.String VM_GET_BINARY
VMGetBinary property keyword

VM_DEFAULT_MODE

public static final java.lang.String VM_DEFAULT_MODE
VMDefaultMode property keyword

VM_CLEAR

public static final java.lang.String VM_CLEAR
VMClear property keyword

CICS_PUT_TEXT

public static final java.lang.String CICS_PUT_TEXT
CICSPutText property keyword

CICS_PUT_BINARY

public static final java.lang.String CICS_PUT_BINARY
CICSPutBinary property keyword

CICS_GET_TEXT

public static final java.lang.String CICS_GET_TEXT
CICSGetText property keyword

CICS_GET_BINARY

public static final java.lang.String CICS_GET_BINARY
CICSGetBinary property keyword

CICS_DEFAULT_MODE

public static final java.lang.String CICS_DEFAULT_MODE
CICSDefaultMode property keyword

CICS_CLEAR

public static final java.lang.String CICS_CLEAR
CICSClear property keyword

OS400_PUT_TEXT

public static final java.lang.String OS400_PUT_TEXT
OS400PutText property keyword

OS400_PUT_BINARY

public static final java.lang.String OS400_PUT_BINARY
OS400PutBinary property keyword

OS400_GET_TEXT

public static final java.lang.String OS400_GET_TEXT
OS400GetText property keyword

OS400_GET_BINARY

public static final java.lang.String OS400_GET_BINARY
OS400GetBinary property keyword

OS400_DEFAULT_MODE

public static final java.lang.String OS400_DEFAULT_MODE
OS400DefaultMode property keyword

OS400_XFER_DSTADDR

public static final java.lang.String OS400_XFER_DSTADDR
OS400XferDstAddr property keyword

OS400_PROXY_SERVER_ENABLED

public static final java.lang.String OS400_PROXY_SERVER_ENABLED
OS400ProxyServerEnabled property keyword

OS400_PROXY_SERVER_DSTADDR

public static final java.lang.String OS400_PROXY_SERVER_DSTADDR
OS400ProxyServerDstAddr property keyword

OS400_PROXY_SERVER_DSTPORT

public static final java.lang.String OS400_PROXY_SERVER_DSTPORT
OS400ProxyServerDstPort property keyword

OS400_XFER_USERID

public static final java.lang.String OS400_XFER_USERID
OS400XferUserID property keyword

HOST_TYPE

public static final java.lang.String HOST_TYPE
hostType property keyword

CODE_PAGE

public static final java.lang.String CODE_PAGE
codePage property keyword

PC_CODE_PAGE

public static final java.lang.String PC_CODE_PAGE
PCCodePage property keyword

TIMEOUT_VALUE

public static final java.lang.String TIMEOUT_VALUE
timeoutValue property keyword

MTU_SIZE

public static final java.lang.String MTU_SIZE
MTU_SIZE property keyword

PAUSE

public static final java.lang.String PAUSE
pause property keyword

BUTTON_TEXT_VISIBLE

public static final java.lang.String BUTTON_TEXT_VISIBLE
buttonTextVisible property keyword

HOST_FILE_ORIENTATION

public static final java.lang.String HOST_FILE_ORIENTATION
hostFileOrientation property keyword, this keyword only applies to bi-directional hosts

PC_FILE_ORIENTATION

public static final java.lang.String PC_FILE_ORIENTATION
PCFileOrientation property keyword, this keyword only applies to bi-directional hosts

PC_FILE_TYPE

public static final java.lang.String PC_FILE_TYPE
PCFileType property keyword, this keyword only applies to bi-directional hosts

LAM_ALEF_EXPANSION

public static final java.lang.String LAM_ALEF_EXPANSION
Lam_AlefExpansion property keyword, this keyword only applies to Arabic hosts

LAM_ALEF_COMPRESSION

public static final java.lang.String LAM_ALEF_COMPRESSION
Lam_AlefCompression property keyword, this keyword only applies to Arabic hosts

SYM_SWAP

public static final java.lang.String SYM_SWAP
Sym_Swap property keyword, this keyword only applies to bi-directional hosts

NUMERALS

public static final java.lang.String NUMERALS
Numerals property keyword, this keyword only applies to Arabic hosts

ROUND_TRIP

public static final java.lang.String ROUND_TRIP
Round_Trip property keyword, this keyword only applies to bi-directional hosts

VM_CMS

public static final java.lang.String VM_CMS
hostType property value - VM/CMS Host

MVS_TSO

public static final java.lang.String MVS_TSO
hostType property value - MVS/TSO Host

CICS

public static final java.lang.String CICS
hostType property value - CICS Host

OS400

public static final java.lang.String OS400
hostType property value - OS/400 Host

TEXT

public static final java.lang.String TEXT
MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Text file

BINARY

public static final java.lang.String BINARY
MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Binary file

LEFT_TO_RIGHT

public static final java.lang.String LEFT_TO_RIGHT
hostFileOrientation, PCFileOrientation property value - LEFTTORIGHT file, this value only applies to bi-directional hosts

RIGHT_TO_LEFT

public static final java.lang.String RIGHT_TO_LEFT
hostFileOrientation, PCFileOrientation property value - RIGHTTOLEFT file, this value only applies to bi-directional hosts

VISUAL

public static final java.lang.String VISUAL
PCFileType property value - VISUAL, this value only applies to bi-directional hosts

IMPLICIT

public static final java.lang.String IMPLICIT
PCFileType property value - IMPLICIT, this value only applies to bi-directional hosts

LAM_ALEF_EXPANSION_ON

public static final java.lang.String LAM_ALEF_EXPANSION_ON
Lam_AlefExpansion property value - Lam_AlefExpansionOn, this value only applies to Arabic hosts

LAM_ALEF_EXPANSION_OFF

public static final java.lang.String LAM_ALEF_EXPANSION_OFF
Lam_AlefExpansion property value - Lam_AlefExpansionOff, this value only applies to Arabic hosts

LAM_ALEF_COMPRESSION_ON

public static final java.lang.String LAM_ALEF_COMPRESSION_ON
Lam_AlefCompression property value - Lam_AlefCompressionOn, this value only applies to Arabic hosts

LAM_ALEF_COMPRESSION_OFF

public static final java.lang.String LAM_ALEF_COMPRESSION_OFF
Lam_AlefCompression property value - Lam_AlefCompressionOff, this value only applies to Arabic hosts

SYM_SWAP_ON

public static final java.lang.String SYM_SWAP_ON
Sym_Swap property value - Sym_SwapOn, this value only applies to bi-directional hosts

SYM_SWAP_OFF

public static final java.lang.String SYM_SWAP_OFF
Sym_Swap property value - Sym_SwapOff, this value only applies to bi-directional hosts

NUMERALS_NOMINAL

public static final java.lang.String NUMERALS_NOMINAL
Numerals property value - Numerals_Nominal, this value only applies to Arabic hosts

NUMERALS_NATIONAL

public static final java.lang.String NUMERALS_NATIONAL
Numerals property value - Numerals_National, this value only applies to Arabic hosts

NUMERALS_CONTEXTUAL

public static final java.lang.String NUMERALS_CONTEXTUAL
Numerals property value - Numerals_Contextual, this value only applies to Arabic hosts

ROUND_TRIP_ON

public static final java.lang.String ROUND_TRIP_ON
Round_Trip property value - Round_TripOn, this value only applies to bi-directional hosts

ROUND_TRIP_OFF

public static final java.lang.String ROUND_TRIP_OFF
Round_Trip property value - Round_TripOff, this value only applies to bi-directional hosts
Constructor Detail

FileTransfer

public FileTransfer()
Constructor which uses the default values for all properties.

FileTransfer

public FileTransfer(java.util.Properties newProperties)
             throws java.beans.PropertyVetoException
Constructor which takes a Properties object containing the initial property settings. Any properties which are not specified in the Properties object are initialized to their default values.
Parameters:
newProperties - the new Properties for the FileTransfer Bean.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
Method Detail

setProperties

public void setProperties(java.util.Properties properties)
                   throws java.beans.PropertyVetoException
Sets properties for the FileTransfer Bean via a Properties object.
Overrides:
setProperties in class HODPanelBean
Throws:
java.beans.PropertyVetoException - Thrown if one of the VetoableChangeListeners rejects the change.

setHostType

public void setHostType(java.lang.String hostType)
                 throws java.beans.PropertyVetoException
Sets the hostType property. This should be set to the type of host system that is sending or receiving the file.
Specified by:
setHostType in interface com.ibm.eNetwork.beans.HOD.intf.FileTransferIntf
Parameters:
hostType - the new hostType value
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getHostType(), listHostTypes(), CICS, MVS_TSO, VM_CMS, OS400

getHostType

public java.lang.String getHostType()
Returns the current value of the hostType property.
See Also:
setHostType(java.lang.String)

listHostTypes

public static java.util.Enumeration listHostTypes()
Returns the list of valid hostType values.
See Also:
setHostType(java.lang.String)

setCodePage

public void setCodePage(java.lang.String codePage)
                 throws java.beans.PropertyVetoException
Sets the host codePage property. This is the codepage that is being used by the host that is sending or receiving the file.
Parameters:
codePage - The new host codePage.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getCodePage(), listCodePages()

getCodePage

public java.lang.String getCodePage()
Returns the current value of the host codePage property.
See Also:
setCodePage(java.lang.String)

listCodePages

public java.util.Enumeration listCodePages()
Returns a list of the valid host codePages.
See Also:
setCodePage(java.lang.String)

setPCCodePage

public void setPCCodePage(java.lang.String pcCodePage)
                   throws java.beans.PropertyVetoException
Sets the PCCodePage property. This is the codepage of the workstation that is sending or receiving the file.
Parameters:
pcCodePage - the new PCCodePage
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getPCCodePage(), listPCCodePages(), listPCCodePages(java.lang.String)

getPCCodePage

public java.lang.String getPCCodePage()
Returns the current value of the PCCodePage property.
See Also:
setPCCodePage(java.lang.String)

listPCCodePages

public java.util.Enumeration listPCCodePages()
Returns a list of the valid PCCodePages.
See Also:
setPCCodePage(java.lang.String)

listPCCodePages

public static java.util.Enumeration listPCCodePages(java.lang.String codePage)
Returns a list of the valid PCCodePage names.
See Also:
setPCCodePage(java.lang.String)

setTimeoutValue

public void setTimeoutValue(int timeOutValue)
                     throws java.beans.PropertyVetoException
Sets the timeoutValue property. This is the amount of time FileTransfer will wait for the host to respond to a file transfer request.
Parameters:
timeOutValue - The new timeoutValue.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getTimeoutValue()

getTimeoutValue

public int getTimeoutValue()
Returns the current value of the timeoutValue property.
See Also:
setTimeoutValue(int)

setMTUSize

public void setMTUSize(int mtuSize)
                throws java.beans.PropertyVetoException
Sets the MTU Size property. This property only applies to 3270 sessions. The packet size is the maximum size that the client can use for inbound and outbound messages during host file transfer. The client notifies the host of this value. This value is also known as MTU file buffer size. In general a larger value will increase the speed of file transfers. However, if the host is configured to use a smaller packet size than the client, then increasing the client's packet size will not improve the speed of file transfers, unless the host's packet size is also increased. The valid range of values for packet size is 256 to 32767. The default is 2500. A value smaller than 256 will be changed to 256. A value larger than 32767 will be changed to 32767. An invalid value, such as a character string, will be changed to 2500.
Parameters:
mtuSize - value used by Host File Transfer
See Also:
getMTUSize()

getMTUSize

public int getMTUSize()
Gets the MTU Size property. This property only applies to 3270 sessions.
Parameters:
mtuSize - value used by Host File Transfer
See Also:
setMTUSize(int)

setPause

public void setPause(int pauseValue)
              throws java.beans.PropertyVetoException
Sets the pause property. This is the amount of time FileTransfer will wait between transfers when processing a list of files.
Parameters:
pauseValue - The new pause value.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getPause()

getPause

public int getPause()
Returns the current setting of the pause property.
See Also:
setPause(int)

setButtonTextVisible

public void setButtonTextVisible(boolean visible)
                          throws java.beans.PropertyVetoException
Sets the buttonTextVisible property. This is a boolean property and accepts either a True or False . This property controls whether the text on the buttons is displayed
Specified by:
setButtonTextVisible in interface com.ibm.eNetwork.beans.HOD.intf.FileTransferIntf
Parameters:
visible - The new buttonTextVisible value.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
isButtonTextVisible()

isButtonTextVisible

public boolean isButtonTextVisible()
Returns the current setting of the buttonTextVisible property.
See Also:
setButtonTextVisible(boolean)

setMVSGetText

public void setMVSGetText(java.lang.String mvsGetText)
                   throws java.beans.PropertyVetoException
Sets the current MVS "Get" Text string. These are the options used when transferring a text file from an MVS host to a workstation.
Parameters:
mvsGetText - the new MVS "Get" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getMVSGetText()

getMVSGetText

public java.lang.String getMVSGetText()
Returns the current MVS "Get" Text string.
See Also:
setMVSGetText(java.lang.String)

setMVSPutText

public void setMVSPutText(java.lang.String mvsPutText)
                   throws java.beans.PropertyVetoException
Sets the current MVS "Put" Text string. These are the options used when transferring a text file from a workstation to an MVS host.
Parameters:
mvsPutText - the new MVS "Put" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getMVSPutText()

getMVSPutText

public java.lang.String getMVSPutText()
Returns the current MVS "Put" Text string.
See Also:
setMVSPutText(java.lang.String)

setMVSGetBinary

public void setMVSGetBinary(java.lang.String mvsGetBinary)
                     throws java.beans.PropertyVetoException
Sets the current MVS "Get" Binary string. These are the options used when transferring a binary file from an MVS host to a workstation.
Parameters:
mvsGetBinary - the new MVS "Get" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getMVSGetBinary()

getMVSGetBinary

public java.lang.String getMVSGetBinary()
Returns the current MVS "Get" Binary string.
See Also:
setMVSGetBinary(java.lang.String)

setMVSPutBinary

public void setMVSPutBinary(java.lang.String mvsPutBinary)
                     throws java.beans.PropertyVetoException
Sets the current MVS "Put" Binary string. These are the options used when transferring a binary file from a workstation to an MVS host.
Parameters:
mvsPutBinary - the new MVS "Put" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getMVSPutBinary()

getMVSPutBinary

public java.lang.String getMVSPutBinary()
Returns the current MVS "Put" Binary string.
See Also:
setMVSPutBinary(java.lang.String)

setMVSDefaultMode

public void setMVSDefaultMode(java.lang.String mvsDefaultMode)
                       throws java.beans.PropertyVetoException
Sets the MVS default mode (text or binary).
Parameters:
mvsDefaultMode - the new MVS default mode
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getMVSDefaultMode()

getMVSDefaultMode

public java.lang.String getMVSDefaultMode()
Returns the current MVS default mode.
See Also:
setMVSDefaultMode(java.lang.String)

listMVSDefaultModes

public static java.util.Enumeration listMVSDefaultModes()
Lists the valid MVSDefaultMode values.
See Also:
setMVSDefaultMode(java.lang.String)

setMVSClear

public void setMVSClear(boolean clear)
                 throws java.beans.PropertyVetoException
Sets the MVS Clear setting (True or False ).
Parameters:
clear - the new MVS Clear setting
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
isMVSClear()

isMVSClear

public boolean isMVSClear()
Returns the current MVS Clear setting.
See Also:
setMVSClear(boolean)

setVMGetText

public void setVMGetText(java.lang.String vmGetText)
                  throws java.beans.PropertyVetoException
Sets the current VM "Get" Text string. These are the options used when transferring a text file from an VM host to a workstation.
Parameters:
vmGetText - the new VM "Get" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getVMGetText()

getVMGetText

public java.lang.String getVMGetText()
Returns the current VM "Get" Text string.
See Also:
setVMGetText(java.lang.String)

setVMPutText

public void setVMPutText(java.lang.String vmPutText)
                  throws java.beans.PropertyVetoException
Sets the current VM "Put" Text string. These are the options used when transferring a text file from a workstation to an VM host.
Parameters:
vmPutText - the new VM "Put" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getVMPutText()

getVMPutText

public java.lang.String getVMPutText()
Returns the current VM "Put" Text string.
See Also:
setVMPutText(java.lang.String)

setVMGetBinary

public void setVMGetBinary(java.lang.String vmGetBinary)
                    throws java.beans.PropertyVetoException
Sets the current VM "Get" Binary string. These are the options used when transferring a binary file from an VM host to a workstation.
Parameters:
vmGetBinary - the new VM "Get" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getVMGetBinary()

getVMGetBinary

public java.lang.String getVMGetBinary()
Returns the current VM "Get" Binary string.
See Also:
setVMGetBinary(java.lang.String)

setVMPutBinary

public void setVMPutBinary(java.lang.String vmPutBinary)
                    throws java.beans.PropertyVetoException
Sets the current VM "Put" Binary string. These are the options used when transferring a binary file from a workstation to an VM host.
Parameters:
vmPutBinary - the new VM "Put" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getVMPutBinary()

getVMPutBinary

public java.lang.String getVMPutBinary()
Returns the current VM "Put" Binary string.
See Also:
setVMPutBinary(java.lang.String)

setVMDefaultMode

public void setVMDefaultMode(java.lang.String vmDefaultMode)
                      throws java.beans.PropertyVetoException
Sets the VM default mode (text or binary).
Parameters:
vmDefaultMode - the new VM default mode
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getVMDefaultMode()

getVMDefaultMode

public java.lang.String getVMDefaultMode()
Returns the current VM default mode.
See Also:
setVMDefaultMode(java.lang.String)

listVMDefaultModes

public static java.util.Enumeration listVMDefaultModes()
Lists the valid VMDefaultMode values.
See Also:
setVMDefaultMode(java.lang.String)

setVMClear

public void setVMClear(boolean clear)
                throws java.beans.PropertyVetoException
Sets the VM Clear setting (True or False ).
Parameters:
clear - the new VM Clear setting
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
isVMClear()

isVMClear

public boolean isVMClear()
Returns the current VM Clear setting.
See Also:
setVMClear(boolean)

setCICSGetText

public void setCICSGetText(java.lang.String cicsGetText)
                    throws java.beans.PropertyVetoException
Sets the current CICS "Get" Text string. These are the options used when transferring a text file from an CICS host to a workstation.
Parameters:
cicsGetText - the new CICS "Get" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getCICSGetText()

getCICSGetText

public java.lang.String getCICSGetText()
Returns the current CICS "Get" Text string.
See Also:
setCICSGetText(java.lang.String)

setCICSPutText

public void setCICSPutText(java.lang.String cicsPutText)
                    throws java.beans.PropertyVetoException
Sets the current CICS "Put" Text string. These are the options used when transferring a text file from a workstation to an CICS host.
Parameters:
cicsPutText - the new CICS "Put" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getCICSPutText()

getCICSPutText

public java.lang.String getCICSPutText()
Returns the current CICS "Put" Text string.
See Also:
setCICSPutText(java.lang.String)

setCICSGetBinary

public void setCICSGetBinary(java.lang.String cicsGetBinary)
                      throws java.beans.PropertyVetoException
Sets the current CICS "Get" Binary string. These are the options used when transferring a binary file from an CICS host to a workstation.
Parameters:
cicsGetBinary - the new CICS "Get" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getCICSGetBinary()

getCICSGetBinary

public java.lang.String getCICSGetBinary()
Returns the current CICS "Get" Binary string.
See Also:
setCICSGetBinary(java.lang.String)

setCICSPutBinary

public void setCICSPutBinary(java.lang.String cicsPutBinary)
                      throws java.beans.PropertyVetoException
Sets the current CICS "Put" Binary string. These are the options used when transferring a binary file from a workstation to an CICS host.
Parameters:
cicsPutBinary - the new CICS "Put" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getCICSPutBinary()

getCICSPutBinary

public java.lang.String getCICSPutBinary()
Returns the current CICS "Put" Binary string.
See Also:
setCICSPutBinary(java.lang.String)

setCICSDefaultMode

public void setCICSDefaultMode(java.lang.String cicsDefaultMode)
                        throws java.beans.PropertyVetoException
Sets the CICS default mode (text or binary).
Parameters:
cicsDefaultMode - the new CICS default mode
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getCICSDefaultMode()

getCICSDefaultMode

public java.lang.String getCICSDefaultMode()
Returns the current CICS default mode.
See Also:
setCICSDefaultMode(java.lang.String)

listCICSDefaultModes

public static java.util.Enumeration listCICSDefaultModes()
Lists the valid CICSDefaultMode values.
See Also:
setCICSDefaultMode(java.lang.String)

setCICSClear

public void setCICSClear(boolean clear)
                  throws java.beans.PropertyVetoException
Sets the CICS Clear setting (True or False ).
Parameters:
clear - the new CICS Clear setting
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
isCICSClear()

isCICSClear

public boolean isCICSClear()
Returns the current CICS Clear setting.
See Also:
setCICSClear(boolean)

setOS400GetText

public void setOS400GetText(java.lang.String os400GetText)
                     throws java.beans.PropertyVetoException
Sets the current OS400 "Get" Text string. These are the options used when transferring a text file from an OS400 host to a workstation.
Parameters:
os400GetText - the new OS400 "Get" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400GetText()

getOS400GetText

public java.lang.String getOS400GetText()
Returns the current OS400 "Get" Text string.
See Also:
setOS400GetText(java.lang.String)

setOS400PutText

public void setOS400PutText(java.lang.String os400PutText)
                     throws java.beans.PropertyVetoException
Sets the current OS400 "Put" Text string. These are the options used when transferring a text file from a workstation to an OS400 host.
Parameters:
os400PutText - the new OS400 "Put" Text string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400PutText()

getOS400PutText

public java.lang.String getOS400PutText()
Returns the current OS400 "Put" Text string.
See Also:
setOS400PutText(java.lang.String)

setOS400GetBinary

public void setOS400GetBinary(java.lang.String os400GetBinary)
                       throws java.beans.PropertyVetoException
Sets the current OS400 "Get" Binary string. These are the options used when transferring a binary file from an OS400 host to a workstation.
Parameters:
os400GetBinary - the new OS400 "Get" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400GetBinary()

getOS400GetBinary

public java.lang.String getOS400GetBinary()
Returns the current OS400 "Get" Binary string.
See Also:
setOS400GetBinary(java.lang.String)

setOS400PutBinary

public void setOS400PutBinary(java.lang.String os400PutBinary)
                       throws java.beans.PropertyVetoException
Sets the current OS400 "Put" Binary string. These are the options used when transferring a binary file from a workstation to an OS400 host.
Parameters:
os400PutBinary - the new OS400 "Put" Binary string
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400PutBinary()

getOS400PutBinary

public java.lang.String getOS400PutBinary()
Returns the current OS400 "Put" Binary string.
See Also:
setOS400PutBinary(java.lang.String)

setOS400DefaultMode

public void setOS400DefaultMode(java.lang.String os400DefaultMode)
                         throws java.beans.PropertyVetoException
Sets the OS400 default mode (text or binary).
Parameters:
os400DefaultMode - the new OS400 default mode
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400DefaultMode()

getOS400DefaultMode

public java.lang.String getOS400DefaultMode()
Returns the current OS400 default mode.
See Also:
setOS400DefaultMode(java.lang.String)

listOS400DefaultModes

public static java.util.Enumeration listOS400DefaultModes()
Lists the valid OS400 default mode values.
See Also:
setOS400DefaultMode(java.lang.String)

getOS400XferUserID

public java.lang.String getOS400XferUserID()
Returns the current OS400 File transfer user ID.
See Also:
setOS400XferUserID(java.lang.String)

setOS400XferUserID

public void setOS400XferUserID(java.lang.String userID)
                        throws java.beans.PropertyVetoException
Sets the current user ID to perform OS400 File Transfer.
Parameters:
user - ID to do the file transfer.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400XferUserID()

getOS400XferDstAddr

public java.lang.String getOS400XferDstAddr()
Returns the current OS400 File transfer destination address.
See Also:
setOS400XferDstAddr(java.lang.String)

setOS400XferDstAddr

public void setOS400XferDstAddr(java.lang.String dstaddr)
                         throws java.beans.PropertyVetoException
Sets the destination address to perform OS400 File Transfer.
Parameters:
destination - address to do the file transfer.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400XferDstAddr()

isOS400ProxyServerEnabled

public boolean isOS400ProxyServerEnabled()
Returns whether the Proxy Server is enabled(True) or not(False).
See Also:
setOS400ProxyServerEnabled(boolean)

setOS400ProxyServerEnabled

public void setOS400ProxyServerEnabled(boolean enable)
                                throws java.beans.PropertyVetoException
Sets whether Proxy Server is enabled(True) or not(False).
Parameters:
enable - the new Enable Proxy Server setting
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
isOS400ProxyServerEnabled()

getOS400ProxyServerDstAddr

public java.lang.String getOS400ProxyServerDstAddr()
Returns the current Proxy Server destination address.
See Also:
setOS400ProxyServerDstAddr(java.lang.String)

setOS400ProxyServerDstAddr

public void setOS400ProxyServerDstAddr(java.lang.String proxyAddr)
                                throws java.beans.PropertyVetoException
Sets the Proxy server destination address
Parameters:
proxyAddr - Server destination address.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400ProxyServerDstAddr()

getOS400ProxyServerDstPort

public int getOS400ProxyServerDstPort()
Returns the current Proxy Server destination port.
See Also:
setOS400ProxyServerDstPort(int)

setOS400ProxyServerDstPort

public void setOS400ProxyServerDstPort(int proxyPort)
                                throws java.beans.PropertyVetoException
Sets the Proxy server destination port
Parameters:
proxyPort - Server destination port.
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getOS400ProxyServerDstPort()

setHostFileOrientation

public void setHostFileOrientation(java.lang.String hostFileOrientation)
                            throws java.beans.PropertyVetoException
Sets the HostFileOrientation property. This indicates whether the host file is in "left to right" style or "right to left" style. This method only applies to bi-directional hosts.
Parameters:
hostFileOrientation - one of the following string constants: LEFT_TO_RIGHT RIGHT_TO_LEFT
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getHostFileOrientation(), LEFT_TO_RIGHT, RIGHT_TO_LEFT

getHostFileOrientation

public java.lang.String getHostFileOrientation()
Returns the current setting of the HostFileOrientation property.
See Also:
setHostFileOrientation(java.lang.String), LEFT_TO_RIGHT, RIGHT_TO_LEFT

listHostFileOrientations

public static java.util.Enumeration listHostFileOrientations()
Returns a list of the valid HostFileOrientation values.
See Also:
setHostFileOrientation(java.lang.String), LEFT_TO_RIGHT, RIGHT_TO_LEFT

setPCFileOrientation

public void setPCFileOrientation(java.lang.String pcFileOrientation)
                          throws java.beans.PropertyVetoException
Sets the PCFileOrientation property. This indicates whether the workstation file being transferred is "left to right" style or "right to left" style. This method only applies to bi-directional workstations.
Parameters:
pcFileOrientation - one of the following string constants: LEFT_TO_RIGHT RIGHT_TO_LEFT
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getPCFileOrientation(), LEFT_TO_RIGHT, RIGHT_TO_LEFT

getPCFileOrientation

public java.lang.String getPCFileOrientation()
Returns the current setting of the PCFileOrientation property.
See Also:
setPCFileOrientation(java.lang.String), LEFT_TO_RIGHT, RIGHT_TO_LEFT

listPCFileOrientations

public static java.util.Enumeration listPCFileOrientations()
Returns a list of the valid PCFileOrientation values.
See Also:
setPCFileOrientation(java.lang.String), LEFT_TO_RIGHT, RIGHT_TO_LEFT

setPCFileType

public void setPCFileType(java.lang.String pft)
                   throws java.beans.PropertyVetoException
Sets the PCFileType property. This indicates the type of the workstation file being transferred. This method only applies to bi-directional workstations.
Parameters:
pft - one of the following string constants: VISUAL IMPLICIT
Throws:
java.beans.PropertyVetoException - Fired if an incorrect property value is given.
See Also:
getPCFileOrientation(), VISUAL, IMPLICIT

getPCFileType

public java.lang.String getPCFileType()
Returns the current setting of the PCFileType property.
See Also:
setPCFileOrientation(java.lang.String), VISUAL, IMPLICIT

listPCFileTypes

public static java.util.Enumeration listPCFileTypes()
Returns a list of the valid PCFileType values.
See Also:
setPCFileOrientation(java.lang.String), VISUAL, IMPLICIT

setLam_AlefExpansion

public void setLam_AlefExpansion(java.lang.String Lam_AlefExpansion)
                          throws java.beans.PropertyVetoException
Sets the Lam_AlefExpansion property. This indicates whether the Lam_Alef Expansion is in "ON" style or "OFF" style. This method only applies to Arabic hosts.
Parameters:
Lam_AlefExpension - one of the following string constants: LAM_ALEF_EXPANSION_ON LAM_ALEF_EXPANSION_OFF
Throws:
java.beans.PropertyVetoException - Fired if an invalid property value is given.
See Also:
getLam_AlefExpansion(), LAM_ALEF_EXPANSION_ON, LAM_ALEF_EXPANSION_OFF

getLam_AlefExpansion

public java.lang.String getLam_AlefExpansion()
Returns the current setting of the Lam_AlefExpansion property.
See Also:
setLam_AlefExpansion(java.lang.String), LAM_ALEF_EXPANSION_ON, LAM_ALEF_EXPANSION_OFF

listLam_AlefExpansion

public static java.util.Enumeration listLam_AlefExpansion()
Returns a list of the valid Lam_AlefExpansion values.
See Also:
setLam_AlefExpansion(java.lang.String), LAM_ALEF_EXPANSION_ON, LAM_ALEF_EXPANSION_OFF

setLam_AlefCompression

public void setLam_AlefCompression(java.lang.String Lam_AlefCompression)
                            throws java.beans.PropertyVetoException
Sets the Lam_AlefCompression property. This indicates whether the Lam_Alef Compression is in "ON" style or "OFF" style. This method only applies to Arabic hosts.
Parameters:
Lam_AlefCompression - one of the following string constants: LAM_ALEF_COMPRESSION_ON LAM_ALEF_COMPRESSION_OFF
Throws:
java.beans.PropertyVetoException - Fired if an invalid property value is given.
See Also:
getLam_AlefCompression(), LAM_ALEF_COMPRESSION_ON, LAM_ALEF_COMPRESSION_OFF

getLam_AlefCompression

public java.lang.String getLam_AlefCompression()
Returns the current setting of the Lam_AlefCompression property.
See Also:
setLam_AlefCompression(java.lang.String), LAM_ALEF_COMPRESSION_ON, LAM_ALEF_COMPRESSION_OFF

listLam_AlefCompression

public static java.util.Enumeration listLam_AlefCompression()
Returns a list of the valid Lam_AlefCompression values.
See Also:
setLam_AlefCompression(java.lang.String), LAM_ALEF_COMPRESSION_ON, LAM_ALEF_COMPRESSION_OFF

setSym_Swap

public void setSym_Swap(java.lang.String Symmetric_Swapping)
                 throws java.beans.PropertyVetoException
Sets the Sym_Swap property. This indicates whether the Symmetric Swapping is in "ON" style or "OFF" style. This method only applies to bi-directional hosts.
Parameters:
one - of the following string constants: SYM_SWAP_ON SYM_SWAP_OFF
Throws:
java.beans.PropertyVetoException - Fired if an invalid property value is given.
See Also:
getSym_Swap(), SYM_SWAP_ON, SYM_SWAP_OFF

getSym_Swap

public java.lang.String getSym_Swap()
Returns the current setting of the Sym_Swap property.
See Also:
setSym_Swap(java.lang.String), SYM_SWAP_ON, SYM_SWAP_OFF

listSym_Swap

public static java.util.Enumeration listSym_Swap()
Returns a list of the valid Sym_Swap values.
See Also:
setSym_Swap(java.lang.String), SYM_SWAP_ON, SYM_SWAP_OFF

setNumerals

public void setNumerals(java.lang.String Numerals_Shaping)
                 throws java.beans.PropertyVetoException
Sets the Numerals property. This indicates whether the Numerals Shaping is in "NOMINAL" style or "NATIONAL" style or "CONTEXTUAL" style. This method only applies to Arabic hosts.
Parameters:
one - of the following string constants: NUMERALS_NOMINAL NUMERALS_NATIONAL NUMERALS_CONTEXTUAL
Throws:
java.beans.PropertyVetoException - Fired if an invalid property value is given.
See Also:
getNumerals(), NUMERALS_NOMINAL, NUMERALS_NATIONAL, NUMERALS_CONTEXTUAL

getNumerals

public java.lang.String getNumerals()
Returns the current setting of the Numerals property.
See Also:
setNumerals(java.lang.String), NUMERALS_NOMINAL, NUMERALS_NATIONAL, NUMERALS_CONTEXTUAL

listNumerals

public static java.util.Enumeration listNumerals()
Returns a list of the valid Numerals values.
See Also:
setNumerals(java.lang.String), NUMERALS_NOMINAL, NUMERALS_NATIONAL, NUMERALS_CONTEXTUAL

setRound_Trip

public void setRound_Trip(java.lang.String RoundTrip)
                   throws java.beans.PropertyVetoException
Sets the Round_Trip property. This indicates whether the RoundTrip is in "ON" style or "OFF" style. This method only applies to bi-directional hosts.
Parameters:
one - of the following string constants: ROUND_TRIP_ON ROUND_TRIP_OFF
Throws:
java.beans.PropertyVetoException - Fired if an invalid property value is given.
See Also:
getRound_Trip(), ROUND_TRIP_ON, ROUND_TRIP_OFF

getRound_Trip

public java.lang.String getRound_Trip()
Returns the current setting of the Round_Trip property.
See Also:
setRound_Trip(java.lang.String), ROUND_TRIP_ON, ROUND_TRIP_OFF

listRound_Trip

public static java.util.Enumeration listRound_Trip()
Returns a list of the valid Round_Trip values.
See Also:
setRound_Trip(java.lang.String), ROUND_TRIP_ON, ROUND_TRIP_OFF

defaults

public static java.util.Properties defaults()
Returns a Properties object containing the default properties for the FileTransfer Bean.

getTraceName

public java.lang.String getTraceName()
Returns a trace identifier for this bean
Overrides:
getTraceName in class HODPanelBean

CommEvent

public void CommEvent(CommEvent evt)
Handler method for CommEvents. FileTransfer listens to CommEvents to know the state of communications between the session and the host. File transfers can only occur when the connection between the session and the host is active.
Specified by:
CommEvent in interface CommListener
Parameters:
evt - CommEvent containing the session's communication status.

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Handler method for PropertyChangeEvents. This method is called when a Terminal/Session Bean property changes. The FileTransfer Bean is sensitive to both the sessionType and codePage properties of the Terminal/Session Bean. When the sessionType or codePage changes on the Terminal/Session Bean, FileTransfer will change its own property to match. This can cause FileTransfer to re-initialize itself based on the new settings.
Overrides:
propertyChange in class HODPanelBean
Parameters:
evt - PropertyChangeEvent containing the property that has changed.