All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.eNetwork.beans.HOD.FileTransfer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.ibm.eNetwork.beans.HOD.HODPanelBean
|
+----com.ibm.eNetwork.beans.HOD.FileTransfer
- public class FileTransfer
- extends HODPanelBean
- implements CommListener, 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.
Properties
The following table lists the properties of the FileTransfer Bean:
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) |
-
BINARY
- MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Binary file
-
BUTTON_TEXT_VISIBLE
- buttonTextVisible property keyword
-
CICS
- hostType property value - CICS Host
-
CICS_CLEAR
- CICSClear property keyword
-
CICS_DEFAULT_MODE
- CICSDefaultMode property keyword
-
CICS_GET_BINARY
- CICSGetBinary property keyword
-
CICS_GET_TEXT
- CICSGetText property keyword
-
CICS_PUT_BINARY
- CICSPutBinary property keyword
-
CICS_PUT_TEXT
- CICSPutText property keyword
-
CODE_PAGE
- codePage property keyword
-
HOST_FILE_ORIENTATION
- hostFileOrientation property keyword
-
HOST_TYPE
- hostType property keyword
-
IMPLICIT
- PCFileType property value - Implicit
-
LAM_ALEF_COMPRESSION
- Lam_AlefCompression property keyword
-
LAM_ALEF_COMPRESSION_OFF
- Lam_AlefCompression property value - OFF
-
LAM_ALEF_COMPRESSION_ON
- Lam_AlefCompression property value - ON
-
LAM_ALEF_EXPANSION
- Lam_AlefExpansion property keyword
-
LAM_ALEF_EXPANSION_OFF
- Lam_AlefExpansion property value - OFF
-
LAM_ALEF_EXPANSION_ON
- Lam_AlefExpansion property value - ON
-
LEFT_TO_RIGHT
- hostFileOrientation, PCFileOrientation property value - Left to Right file
-
MVS_CLEAR
- MVSClear property keyword
-
MVS_DEFAULT_MODE
- MVSDefaultMode property keyword
-
MVS_GET_BINARY
- MVSGetBinary property keyword
-
MVS_GET_TEXT
- MVSGetText property keyword
-
MVS_PUT_BINARY
- MVSPutBinary property keyword
-
MVS_PUT_TEXT
- MVSPutText property keyword
-
MVS_TSO
- hostType property value - MVS/TSO Host
-
OS400
- hostType property value - OS/400 Host
-
OS400_DEFAULT_MODE
- OS400DefaultMode property keyword
-
OS400_GET_BINARY
- OS400GetBinary property keyword
-
OS400_GET_TEXT
- OS400GetText property keyword
-
OS400_PROXY_SERVER_DSTADDR
- OS400ProxyServerDstAddr property keyword
-
OS400_PROXY_SERVER_DSTPORT
- OS400ProxyServerDstPort property keyword
-
OS400_PROXY_SERVER_ENABLED
- OS400ProxyServerEnabled property keyword
-
OS400_PUT_BINARY
- OS400PutBinary property keyword
-
OS400_PUT_TEXT
- OS400PutText property keyword
-
OS400_XFER_DSTADDR
- OS400XferDstAddr property keyword
-
OS400_XFER_USERID
- OS400XferUserID property keyword
-
PAUSE
- pause property keyword
-
PC_CODE_PAGE
- PCCodePage property keyword
-
PC_FILE_ORIENTATION
- PCFileOrientation property keyword
-
PC_FILE_TYPE
- PCFileType property keyword
-
RIGHT_TO_LEFT
- hostFileOrientation, PCFileOrientation property value - Right to Left file
-
TEXT
- MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Text file
-
TIMEOUT_VALUE
- timeoutValue property keyword
-
VISUAL
- PCFileType property value - Visual
-
VM_CLEAR
- VMClear property keyword
-
VM_CMS
- hostType property value - VM/CMS Host
-
VM_DEFAULT_MODE
- VMDefaultMode property keyword
-
VM_GET_BINARY
- VMGetBinary property keyword
-
VM_GET_TEXT
- VMGetText property keyword
-
VM_PUT_BINARY
- VMPutBinary property keyword
-
VM_PUT_TEXT
- VMPutText property keyword
-
FileTransfer()
- Constructor which uses the default values for all properties.
-
FileTransfer(Properties)
- Constructor which takes a Properties object containing the initial
property settings.
-
CommEvent(CommEvent)
- Handler method for CommEvents.
-
defaults()
- Returns a Properties object containing the default properties for the
FileTransfer Bean.
-
getCICSDefaultMode()
- Returns the current CICS default mode.
-
getCICSGetBinary()
- Returns the current CICS "Get" Binary string.
-
getCICSGetText()
- Returns the current CICS "Get" Text string.
-
getCICSPutBinary()
- Returns the current CICS "Put" Binary string.
-
getCICSPutText()
- Returns the current CICS "Put" Text string.
-
getCodePage()
- Returns the current value of the host codePage property.
-
getHostFileOrientation()
- Returns the current setting of the HostFileOrientation property.
-
getHostType()
- Returns the current value of the hostType property.
-
getLam_AlefCompression()
- Returns the current setting of the Lam_AlefCompression property.
-
getLam_AlefExpansion()
- Returns the current setting of the Lam_AlefExpansion property.
-
getMVSDefaultMode()
- Returns the current MVS default mode.
-
getMVSGetBinary()
- Returns the current MVS "Get" Binary string.
-
getMVSGetText()
- Returns the current MVS "Get" Text string.
-
getMVSPutBinary()
- Returns the current MVS "Put" Binary string.
-
getMVSPutText()
- Returns the current MVS "Put" Text string.
-
getOS400DefaultMode()
- Returns the current OS400 default mode.
-
getOS400GetBinary()
- Returns the current OS400 "Get" Binary string.
-
getOS400GetText()
- Returns the current OS400 "Get" Text string.
-
getOS400ProxyServerDstAddr()
- Returns the current Proxy Server destination address.
-
getOS400ProxyServerDstPort()
- Returns the current Proxy Server destination port.
-
getOS400PutBinary()
- Returns the current OS400 "Put" Binary string.
-
getOS400PutText()
- Returns the current OS400 "Put" Text string.
-
getOS400XferDstAddr()
- Returns the current OS400 File transfer destination address.
-
getOS400XferUserID()
- Returns the current OS400 File transfer user ID.
-
getPause()
- Returns the current setting of the pause property.
-
getPCCodePage()
- Returns the current value of the PCCodePage property.
-
getPCFileOrientation()
- Returns the current setting of the PCFileOrientation property.
-
getPCFileType()
- Returns the current setting of the PCFileType property.
-
getTimeoutValue()
- Returns the current value of the timeoutValue property.
-
getTraceName()
- Returns a trace identifier for this bean
-
getVMDefaultMode()
- Returns the current VM default mode.
-
getVMGetBinary()
- Returns the current VM "Get" Binary string.
-
getVMGetText()
- Returns the current VM "Get" Text string.
-
getVMPutBinary()
- Returns the current VM "Put" Binary string.
-
getVMPutText()
- Returns the current VM "Put" Text string.
-
isButtonTextVisible()
- Returns the current setting of the buttonTextVisible property.
-
isCICSClear()
- Returns the current CICS Clear setting.
-
isMVSClear()
- Returns the current MVS Clear setting.
-
isOS400ProxyServerEnabled()
- Returns whether the Proxy Server is enabled(True) or not(False).
-
isVMClear()
- Returns the current VM Clear setting.
-
listCICSDefaultModes()
- Lists the valid CICSDefaultMode values.
-
listCodePages()
- Returns a list of the valid host codePages.
-
listHostFileOrientations()
- Returns a list of the valid HostFileOrientation values.
-
listHostTypes()
- Returns the list of valid hostType values.
-
listLam_AlefCompression()
- Returns a list of the valid Lam_AlefCompression values.
-
listLam_AlefExpansion()
- Returns a list of the valid Lam_AlefExpansion values.
-
listMVSDefaultModes()
- Lists the valid MVSDefaultMode values.
-
listOS400DefaultModes()
- Lists the valid OS400 default mode values.
-
listPCCodePages()
- Returns a list of the valid PCCodePages.
-
listPCCodePages(String)
- Returns a list of the valid PCCodePage names.
-
listPCFileOrientations()
- Returns a list of the valid PCFileOrientation values.
-
listPCFileTypes()
- Returns a list of the valid PCFileType values.
-
listVMDefaultModes()
- Lists the valid VMDefaultMode values.
-
propertyChange(PropertyChangeEvent)
- Handler method for PropertyChangeEvents.
-
setButtonTextVisible(boolean)
- Sets the buttonTextVisible property.
-
setCICSClear(boolean)
- Sets the CICS Clear setting (True or False ).
-
setCICSDefaultMode(String)
- Sets the CICS default mode (text or binary).
-
setCICSGetBinary(String)
- Sets the current CICS "Get" Binary string.
-
setCICSGetText(String)
- Sets the current CICS "Get" Text string.
-
setCICSPutBinary(String)
- Sets the current CICS "Put" Binary string.
-
setCICSPutText(String)
- Sets the current CICS "Put" Text string.
-
setCodePage(String)
- Sets the host codePage property.
-
setHostFileOrientation(String)
- Sets the HostFileOrientation property.
-
setHostType(String)
- Sets the hostType property.
-
setLam_AlefCompression(String)
- Sets the Lam_AlefCompression property.
-
setLam_AlefExpansion(String)
- Sets the Lam_AlefExpansion property.
-
setMVSClear(boolean)
- Sets the MVS Clear setting (True or False ).
-
setMVSDefaultMode(String)
- Sets the MVS default mode (text or binary).
-
setMVSGetBinary(String)
- Sets the current MVS "Get" Binary string.
-
setMVSGetText(String)
- Sets the current MVS "Get" Text string.
-
setMVSPutBinary(String)
- Sets the current MVS "Put" Binary string.
-
setMVSPutText(String)
- Sets the current MVS "Put" Text string.
-
setOS400DefaultMode(String)
- Sets the OS400 default mode (text or binary).
-
setOS400GetBinary(String)
- Sets the current OS400 "Get" Binary string.
-
setOS400GetText(String)
- Sets the current OS400 "Get" Text string.
-
setOS400ProxyServerDstAddr(String)
- Sets the Proxy server destination address
-
setOS400ProxyServerDstPort(int)
- Sets the Proxy server destination port
-
setOS400ProxyServerEnabled(boolean)
- Sets whether Proxy Server is enabled(True) or not(False).
-
setOS400PutBinary(String)
- Sets the current OS400 "Put" Binary string.
-
setOS400PutText(String)
- Sets the current OS400 "Put" Text string.
-
setOS400XferDstAddr(String)
- Sets the destination address to perform OS400 File Transfer.
-
setOS400XferUserID(String)
- Sets the current user ID to perform OS400 File Transfer.
-
setPause(int)
- Sets the pause property.
-
setPCCodePage(String)
- Sets the PCCodePage property.
-
setPCFileOrientation(String)
- Sets the PCFileOrientation property.
-
setPCFileType(String)
- Sets the PCFileType property.
-
setProperties(Properties)
- Sets the properties for the bean.
-
setTimeoutValue(int)
- Sets the timeoutValue property.
-
setVMClear(boolean)
- Sets the VM Clear setting (True or False ).
-
setVMDefaultMode(String)
- Sets the VM default mode (text or binary).
-
setVMGetBinary(String)
- Sets the current VM "Get" Binary string.
-
setVMGetText(String)
- Sets the current VM "Get" Text string.
-
setVMPutBinary(String)
- Sets the current VM "Put" Binary string.
-
setVMPutText(String)
- Sets the current VM "Put" Text string.
MVS_PUT_TEXT
public static final String MVS_PUT_TEXT
- MVSPutText property keyword
MVS_PUT_BINARY
public static final String MVS_PUT_BINARY
- MVSPutBinary property keyword
MVS_GET_TEXT
public static final String MVS_GET_TEXT
- MVSGetText property keyword
MVS_GET_BINARY
public static final String MVS_GET_BINARY
- MVSGetBinary property keyword
MVS_DEFAULT_MODE
public static final String MVS_DEFAULT_MODE
- MVSDefaultMode property keyword
MVS_CLEAR
public static final String MVS_CLEAR
- MVSClear property keyword
VM_PUT_TEXT
public static final String VM_PUT_TEXT
- VMPutText property keyword
VM_PUT_BINARY
public static final String VM_PUT_BINARY
- VMPutBinary property keyword
VM_GET_TEXT
public static final String VM_GET_TEXT
- VMGetText property keyword
VM_GET_BINARY
public static final String VM_GET_BINARY
- VMGetBinary property keyword
VM_DEFAULT_MODE
public static final String VM_DEFAULT_MODE
- VMDefaultMode property keyword
VM_CLEAR
public static final String VM_CLEAR
- VMClear property keyword
CICS_PUT_TEXT
public static final String CICS_PUT_TEXT
- CICSPutText property keyword
CICS_PUT_BINARY
public static final String CICS_PUT_BINARY
- CICSPutBinary property keyword
CICS_GET_TEXT
public static final String CICS_GET_TEXT
- CICSGetText property keyword
CICS_GET_BINARY
public static final String CICS_GET_BINARY
- CICSGetBinary property keyword
CICS_DEFAULT_MODE
public static final String CICS_DEFAULT_MODE
- CICSDefaultMode property keyword
CICS_CLEAR
public static final String CICS_CLEAR
- CICSClear property keyword
OS400_PUT_TEXT
public static final String OS400_PUT_TEXT
- OS400PutText property keyword
OS400_PUT_BINARY
public static final String OS400_PUT_BINARY
- OS400PutBinary property keyword
OS400_GET_TEXT
public static final String OS400_GET_TEXT
- OS400GetText property keyword
OS400_GET_BINARY
public static final String OS400_GET_BINARY
- OS400GetBinary property keyword
OS400_DEFAULT_MODE
public static final String OS400_DEFAULT_MODE
- OS400DefaultMode property keyword
OS400_XFER_DSTADDR
public static final String OS400_XFER_DSTADDR
- OS400XferDstAddr property keyword
OS400_PROXY_SERVER_ENABLED
public static final String OS400_PROXY_SERVER_ENABLED
- OS400ProxyServerEnabled property keyword
OS400_PROXY_SERVER_DSTADDR
public static final String OS400_PROXY_SERVER_DSTADDR
- OS400ProxyServerDstAddr property keyword
OS400_PROXY_SERVER_DSTPORT
public static final String OS400_PROXY_SERVER_DSTPORT
- OS400ProxyServerDstPort property keyword
OS400_XFER_USERID
public static final String OS400_XFER_USERID
- OS400XferUserID property keyword
HOST_TYPE
public static final String HOST_TYPE
- hostType property keyword
CODE_PAGE
public static final String CODE_PAGE
- codePage property keyword
PC_CODE_PAGE
public static final String PC_CODE_PAGE
- PCCodePage property keyword
TIMEOUT_VALUE
public static final String TIMEOUT_VALUE
- timeoutValue property keyword
PAUSE
public static final String PAUSE
- pause property keyword
BUTTON_TEXT_VISIBLE
public static final String BUTTON_TEXT_VISIBLE
- buttonTextVisible property keyword
HOST_FILE_ORIENTATION
public static final String HOST_FILE_ORIENTATION
- hostFileOrientation property keyword
PC_FILE_ORIENTATION
public static final String PC_FILE_ORIENTATION
- PCFileOrientation property keyword
PC_FILE_TYPE
public static final String PC_FILE_TYPE
- PCFileType property keyword
LAM_ALEF_EXPANSION
public static final String LAM_ALEF_EXPANSION
- Lam_AlefExpansion property keyword
LAM_ALEF_COMPRESSION
public static final String LAM_ALEF_COMPRESSION
- Lam_AlefCompression property keyword
VM_CMS
public static final String VM_CMS
- hostType property value - VM/CMS Host
MVS_TSO
public static final String MVS_TSO
- hostType property value - MVS/TSO Host
CICS
public static final String CICS
- hostType property value - CICS Host
OS400
public static final String OS400
- hostType property value - OS/400 Host
TEXT
public static final String TEXT
- MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Text file
BINARY
public static final String BINARY
- MVSDefaultMode, VMDefaultMode, CICSDefaultMode, OS400DefaultMode property value - Binary file
LEFT_TO_RIGHT
public static final String LEFT_TO_RIGHT
- hostFileOrientation, PCFileOrientation property value - Left to Right file
RIGHT_TO_LEFT
public static final String RIGHT_TO_LEFT
- hostFileOrientation, PCFileOrientation property value - Right to Left file
VISUAL
public static final String VISUAL
- PCFileType property value - Visual
IMPLICIT
public static final String IMPLICIT
- PCFileType property value - Implicit
LAM_ALEF_EXPANSION_ON
public static final String LAM_ALEF_EXPANSION_ON
- Lam_AlefExpansion property value - ON
LAM_ALEF_EXPANSION_OFF
public static final String LAM_ALEF_EXPANSION_OFF
- Lam_AlefExpansion property value - OFF
LAM_ALEF_COMPRESSION_ON
public static final String LAM_ALEF_COMPRESSION_ON
- Lam_AlefCompression property value - ON
LAM_ALEF_COMPRESSION_OFF
public static final String LAM_ALEF_COMPRESSION_OFF
- Lam_AlefCompression property value - OFF
FileTransfer
public FileTransfer()
- Constructor which uses the default values for all properties.
FileTransfer
public FileTransfer(Properties newProperties) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
setProperties
public void setProperties(Properties properties) throws PropertyVetoException
- Sets the properties for the bean.
- Overrides:
- setProperties in class HODPanelBean
setHostType
public void setHostType(String hostType) throws PropertyVetoException
- Sets the hostType property. This should be set to the type of host
system that is sending or receiving the file.
- Parameters:
- hostType - the new hostType value
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getHostType, listHostTypes, CICS, MVS_TSO, VM_CMS, OS400
getHostType
public String getHostType()
- Returns the current value of the hostType property.
- See Also:
- setHostType
listHostTypes
public static Enumeration listHostTypes()
- Returns the list of valid hostType values.
- See Also:
- setHostType
setCodePage
public void setCodePage(String codePage) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getCodePage, listCodePages
getCodePage
public String getCodePage()
- Returns the current value of the host codePage property.
- See Also:
- setCodePage
listCodePages
public Enumeration listCodePages()
- Returns a list of the valid host codePages.
- See Also:
- setCodePage
setPCCodePage
public void setPCCodePage(String pcCodePage) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getPCCodePage, listPCCodePages, listPCCodePages
getPCCodePage
public String getPCCodePage()
- Returns the current value of the PCCodePage property.
- See Also:
- setPCCodePage
listPCCodePages
public Enumeration listPCCodePages()
- Returns a list of the valid PCCodePages.
- See Also:
- setPCCodePage
listPCCodePages
public static Enumeration listPCCodePages(String codePage)
- Returns a list of the valid PCCodePage names.
- See Also:
- setPCCodePage
setTimeoutValue
public void setTimeoutValue(int timeOutValue) throws 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: 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
setPause
public void setPause(int pauseValue) throws 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: 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
setButtonTextVisible
public void setButtonTextVisible(boolean visible) throws 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
- Parameters:
- visible - The new buttonTextVisible value.
- Throws: 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
setMVSGetText
public void setMVSGetText(String mvsGetText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getMVSGetText
getMVSGetText
public String getMVSGetText()
- Returns the current MVS "Get" Text string.
- See Also:
- setMVSGetText
setMVSPutText
public void setMVSPutText(String mvsPutText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getMVSPutText
getMVSPutText
public String getMVSPutText()
- Returns the current MVS "Put" Text string.
- See Also:
- setMVSPutText
setMVSGetBinary
public void setMVSGetBinary(String mvsGetBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getMVSGetBinary
getMVSGetBinary
public String getMVSGetBinary()
- Returns the current MVS "Get" Binary string.
- See Also:
- setMVSGetBinary
setMVSPutBinary
public void setMVSPutBinary(String mvsPutBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getMVSPutBinary
getMVSPutBinary
public String getMVSPutBinary()
- Returns the current MVS "Put" Binary string.
- See Also:
- setMVSPutBinary
setMVSDefaultMode
public void setMVSDefaultMode(String mvsDefaultMode) throws PropertyVetoException
- Sets the MVS default mode (text or binary).
- Parameters:
- mvsDefaultMode - the new MVS default mode
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getMVSDefaultMode
getMVSDefaultMode
public String getMVSDefaultMode()
- Returns the current MVS default mode.
- See Also:
- setMVSDefaultMode
listMVSDefaultModes
public static Enumeration listMVSDefaultModes()
- Lists the valid MVSDefaultMode values.
- See Also:
- setMVSDefaultMode
setMVSClear
public void setMVSClear(boolean clear) throws PropertyVetoException
- Sets the MVS Clear setting (True or False ).
- Parameters:
- clear - the new MVS Clear setting
- Throws: 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
setVMGetText
public void setVMGetText(String vmGetText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getVMGetText
getVMGetText
public String getVMGetText()
- Returns the current VM "Get" Text string.
- See Also:
- setVMGetText
setVMPutText
public void setVMPutText(String vmPutText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getVMPutText
getVMPutText
public String getVMPutText()
- Returns the current VM "Put" Text string.
- See Also:
- setVMPutText
setVMGetBinary
public void setVMGetBinary(String vmGetBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getVMGetBinary
getVMGetBinary
public String getVMGetBinary()
- Returns the current VM "Get" Binary string.
- See Also:
- setVMGetBinary
setVMPutBinary
public void setVMPutBinary(String vmPutBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getVMPutBinary
getVMPutBinary
public String getVMPutBinary()
- Returns the current VM "Put" Binary string.
- See Also:
- setVMPutBinary
setVMDefaultMode
public void setVMDefaultMode(String vmDefaultMode) throws PropertyVetoException
- Sets the VM default mode (text or binary).
- Parameters:
- vmDefaultMode - the new VM default mode
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getVMDefaultMode
getVMDefaultMode
public String getVMDefaultMode()
- Returns the current VM default mode.
- See Also:
- setVMDefaultMode
listVMDefaultModes
public static Enumeration listVMDefaultModes()
- Lists the valid VMDefaultMode values.
- See Also:
- setVMDefaultMode
setVMClear
public void setVMClear(boolean clear) throws PropertyVetoException
- Sets the VM Clear setting (True or False ).
- Parameters:
- clear - the new VM Clear setting
- Throws: 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
setCICSGetText
public void setCICSGetText(String cicsGetText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getCICSGetText
getCICSGetText
public String getCICSGetText()
- Returns the current CICS "Get" Text string.
- See Also:
- setCICSGetText
setCICSPutText
public void setCICSPutText(String cicsPutText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getCICSPutText
getCICSPutText
public String getCICSPutText()
- Returns the current CICS "Put" Text string.
- See Also:
- setCICSPutText
setCICSGetBinary
public void setCICSGetBinary(String cicsGetBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getCICSGetBinary
getCICSGetBinary
public String getCICSGetBinary()
- Returns the current CICS "Get" Binary string.
- See Also:
- setCICSGetBinary
setCICSPutBinary
public void setCICSPutBinary(String cicsPutBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getCICSPutBinary
getCICSPutBinary
public String getCICSPutBinary()
- Returns the current CICS "Put" Binary string.
- See Also:
- setCICSPutBinary
setCICSDefaultMode
public void setCICSDefaultMode(String cicsDefaultMode) throws PropertyVetoException
- Sets the CICS default mode (text or binary).
- Parameters:
- cicsDefaultMode - the new CICS default mode
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getCICSDefaultMode
getCICSDefaultMode
public String getCICSDefaultMode()
- Returns the current CICS default mode.
- See Also:
- setCICSDefaultMode
listCICSDefaultModes
public static Enumeration listCICSDefaultModes()
- Lists the valid CICSDefaultMode values.
- See Also:
- setCICSDefaultMode
setCICSClear
public void setCICSClear(boolean clear) throws PropertyVetoException
- Sets the CICS Clear setting (True or False ).
- Parameters:
- clear - the new CICS Clear setting
- Throws: 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
setOS400GetText
public void setOS400GetText(String os400GetText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400GetText
getOS400GetText
public String getOS400GetText()
- Returns the current OS400 "Get" Text string.
- See Also:
- setOS400GetText
setOS400PutText
public void setOS400PutText(String os400PutText) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400PutText
getOS400PutText
public String getOS400PutText()
- Returns the current OS400 "Put" Text string.
- See Also:
- setOS400PutText
setOS400GetBinary
public void setOS400GetBinary(String os400GetBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400GetBinary
getOS400GetBinary
public String getOS400GetBinary()
- Returns the current OS400 "Get" Binary string.
- See Also:
- setOS400GetBinary
setOS400PutBinary
public void setOS400PutBinary(String os400PutBinary) throws 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: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400PutBinary
getOS400PutBinary
public String getOS400PutBinary()
- Returns the current OS400 "Put" Binary string.
- See Also:
- setOS400PutBinary
setOS400DefaultMode
public void setOS400DefaultMode(String os400DefaultMode) throws PropertyVetoException
- Sets the OS400 default mode (text or binary).
- Parameters:
- os400DefaultMode - the new OS400 default mode
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400DefaultMode
getOS400DefaultMode
public String getOS400DefaultMode()
- Returns the current OS400 default mode.
- See Also:
- setOS400DefaultMode
listOS400DefaultModes
public static Enumeration listOS400DefaultModes()
- Lists the valid OS400 default mode values.
- See Also:
- setOS400DefaultMode
getOS400XferUserID
public String getOS400XferUserID()
- Returns the current OS400 File transfer user ID.
- See Also:
- setOS400XferUserID
setOS400XferUserID
public void setOS400XferUserID(String userID) throws PropertyVetoException
- Sets the current user ID to perform OS400 File Transfer.
- Parameters:
- user - ID to do the file transfer.
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400XferUserID
getOS400XferDstAddr
public String getOS400XferDstAddr()
- Returns the current OS400 File transfer destination address.
- See Also:
- setOS400XferDstAddr
setOS400XferDstAddr
public void setOS400XferDstAddr(String dstaddr) throws PropertyVetoException
- Sets the destination address to perform OS400 File Transfer.
- Parameters:
- destination - address to do the file transfer.
- Throws: 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
setOS400ProxyServerEnabled
public void setOS400ProxyServerEnabled(boolean enable) throws PropertyVetoException
- Sets whether Proxy Server is enabled(True) or not(False).
- Parameters:
- enable - the new Enable Proxy Server setting
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- isOS400ProxyServerEnabled
getOS400ProxyServerDstAddr
public String getOS400ProxyServerDstAddr()
- Returns the current Proxy Server destination address.
- See Also:
- setOS400ProxyServerDstAddr
setOS400ProxyServerDstAddr
public void setOS400ProxyServerDstAddr(String proxyAddr) throws PropertyVetoException
- Sets the Proxy server destination address
- Parameters:
- proxyAddr - Server destination address.
- Throws: 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
setOS400ProxyServerDstPort
public void setOS400ProxyServerDstPort(int proxyPort) throws PropertyVetoException
- Sets the Proxy server destination port
- Parameters:
- proxyPort - Server destination port.
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getOS400ProxyServerDstPort
setHostFileOrientation
public void setHostFileOrientation(String hostFileOrientation) throws PropertyVetoException
- Sets the HostFileOrientation property. This indicates whether the host
file is in "left to right" style or "right to left" style. This property
only applies to bi-directional hosts.
- Parameters:
- hostFileOrientation - one of the following string constants:
LEFT_TO_RIGHT
RIGHT_TO_LEFT
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getHostFileOrientation, LEFT_TO_RIGHT, RIGHT_TO_LEFT
getHostFileOrientation
public String getHostFileOrientation()
- Returns the current setting of the HostFileOrientation property.
- See Also:
- setHostFileOrientation, LEFT_TO_RIGHT, RIGHT_TO_LEFT
listHostFileOrientations
public static Enumeration listHostFileOrientations()
- Returns a list of the valid HostFileOrientation values.
- See Also:
- setHostFileOrientation, LEFT_TO_RIGHT, RIGHT_TO_LEFT
setPCFileOrientation
public void setPCFileOrientation(String pcFileOrientation) throws PropertyVetoException
- Sets the PCFileOrientation property. This indicates whether the
workstation file being transferred is "left to right" style or
"right to left" style. This property only applies to bi-directional
workstations.
- Parameters:
- pcFileOrientation - one of the following string constants:
LEFT_TO_RIGHT
RIGHT_TO_LEFT
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getPCFileOrientation, LEFT_TO_RIGHT, RIGHT_TO_LEFT
getPCFileOrientation
public String getPCFileOrientation()
- Returns the current setting of the PCFileOrientation property.
- See Also:
- setPCFileOrientation, LEFT_TO_RIGHT, RIGHT_TO_LEFT
listPCFileOrientations
public static Enumeration listPCFileOrientations()
- Returns a list of the valid PCFileOrientation values.
- See Also:
- setPCFileOrientation, LEFT_TO_RIGHT, RIGHT_TO_LEFT
setPCFileType
public void setPCFileType(String pft) throws PropertyVetoException
- Sets the PCFileType property. This indicates the type of the workstation
file being transferred. This property only applies to bi-directional
workstations.
- Parameters:
- pft - one of the following string constants:
VISUAL
IMPLICIT
- Throws: PropertyVetoException
- Fired if an incorrect property value
is given.
- See Also:
- getPCFileOrientation, VISUAL, IMPLICIT
getPCFileType
public String getPCFileType()
- Returns the current setting of the PCFileType property.
- See Also:
- setPCFileOrientation, VISUAL, IMPLICIT
listPCFileTypes
public static Enumeration listPCFileTypes()
- Returns a list of the valid PCFileType values.
- See Also:
- setPCFileOrientation, VISUAL, IMPLICIT
setLam_AlefExpansion
public void setLam_AlefExpansion(String Lam_AlefExpansion) throws PropertyVetoException
- Sets the Lam_AlefExpansion property. This indicates whether the Lam_Alef
Expansion is in "ON" style or "OFF" style. This property
only applies to Arabic hosts.
- Parameters:
- Lam_AlefExpension - one of the following string constants:
LAM_ALEF_EXPANSION_ON
LAM_ALEF_EXPANSION_OFF
- Throws: PropertyVetoException
- Fired if an invalid property value
is given.
- See Also:
- getLam_AlefExpansion, LAM_ALEF_EXPANSION_ON, LAM_ALEF_EXPANSION_OFF
getLam_AlefExpansion
public String getLam_AlefExpansion()
- Returns the current setting of the Lam_AlefExpansion property.
- See Also:
- setLam_AlefExpansion, LAM_ALEF_EXPANSION_ON, LAM_ALEF_EXPANSION_OFF
listLam_AlefExpansion
public static Enumeration listLam_AlefExpansion()
- Returns a list of the valid Lam_AlefExpansion values.
- See Also:
- setLam_AlefExpansion, LAM_ALEF_EXPANSION_ON, LAM_ALEF_EXPANSION_OFF
setLam_AlefCompression
public void setLam_AlefCompression(String Lam_AlefCompression) throws PropertyVetoException
- Sets the Lam_AlefCompression property. This indicates whether the Lam_Alef
Compression is in "ON" style or "OFF" style. This property
only applies to Arabic hosts.
- Parameters:
- Lam_AlefCompression - one of the following string constants:
LAM_ALEF_COMPRESSION_ON
LAM_ALEF_COMPRESSION_OFF
- Throws: PropertyVetoException
- Fired if an invalid property value
is given.
- See Also:
- getLam_AlefCompression, LAM_ALEF_COMPRESSION_ON, LAM_ALEF_COMPRESSION_OFF
getLam_AlefCompression
public String getLam_AlefCompression()
- Returns the current setting of the Lam_AlefCompression property.
- See Also:
- setLam_AlefCompression, LAM_ALEF_COMPRESSION_ON, LAM_ALEF_COMPRESSION_OFF
listLam_AlefCompression
public static Enumeration listLam_AlefCompression()
- Returns a list of the valid Lam_AlefCompression values.
- See Also:
- setLam_AlefCompression, LAM_ALEF_COMPRESSION_ON, LAM_ALEF_COMPRESSION_OFF
defaults
public static Properties defaults()
- Returns a Properties object containing the default properties for the
FileTransfer Bean.
getTraceName
public 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.
- Parameters:
- evt - CommEvent containing the session's communication
status.
propertyChange
public void propertyChange(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.
- Parameters:
- evt - PropertyChangeEvent containing the property that has
changed.
- Overrides:
- propertyChange in class HODPanelBean
All Packages Class Hierarchy This Package Previous Next Index