Remote Systems
v6.4.1

com.ibm.etools.systems.core
Class SystemFileTransferModeMapping

java.lang.Object
  extended bycom.ibm.etools.systems.core.SystemFileTransferModeMapping
All Implemented Interfaces:
Cloneable, ISystemFileTransferModeMapping

public class SystemFileTransferModeMapping
extends Object
implements ISystemFileTransferModeMapping, Cloneable

An internal class. Clients must not instantiate or subclass it.


Field Summary
static String Copyright
           
 
Constructor Summary
SystemFileTransferModeMapping(String extension)
          Constructor for SystemFileTransferModeMapping
SystemFileTransferModeMapping(String name, String extension)
          Constructor for SystemFileTransferModeMapping
 
Method Summary
 Object clone()
          Clone this object
 String getExtension()
          Get the extension
 String getLabel()
          Get the label
 String getName()
          Get the name
 boolean isBinary()
          Returns if the mapping is binary
 boolean isText()
          Returns if the mapping is text
 void setAsBinary()
          Set whether transfer mode is binary
 void setAsText()
          Set whether transfer mode is text
 void setExtension(String extension)
          Set the extension
 void setName(String name)
          Set the name
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

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

SystemFileTransferModeMapping

public SystemFileTransferModeMapping(String extension)
Constructor for SystemFileTransferModeMapping


SystemFileTransferModeMapping

public SystemFileTransferModeMapping(String name,
                                     String extension)
Constructor for SystemFileTransferModeMapping

Method Detail

getExtension

public String getExtension()
Description copied from interface: ISystemFileTransferModeMapping
Get the extension

Specified by:
getExtension in interface ISystemFileTransferModeMapping
Returns:
the extension for the mapping
See Also:
ISystemFileTransferModeMapping.getExtension()

getLabel

public String getLabel()
Description copied from interface: ISystemFileTransferModeMapping
Get the label

Specified by:
getLabel in interface ISystemFileTransferModeMapping
Returns:
the label for the mapping
See Also:
ISystemFileTransferModeMapping.getLabel()

getName

public String getName()
Description copied from interface: ISystemFileTransferModeMapping
Get the name

Specified by:
getName in interface ISystemFileTransferModeMapping
Returns:
the name for the mapping
See Also:
ISystemFileTransferModeMapping.getName()

isBinary

public boolean isBinary()
Description copied from interface: ISystemFileTransferModeMapping
Returns if the mapping is binary

Specified by:
isBinary in interface ISystemFileTransferModeMapping
Returns:
true if binary, false if text
See Also:
ISystemFileTransferModeMapping.isBinary()

isText

public boolean isText()
Description copied from interface: ISystemFileTransferModeMapping
Returns if the mapping is text

Specified by:
isText in interface ISystemFileTransferModeMapping
Returns:
true if text, false if binary
See Also:
ISystemFileTransferModeMapping.isText()

setAsBinary

public void setAsBinary()
Set whether transfer mode is binary


setAsText

public void setAsText()
Set whether transfer mode is text


setName

public void setName(String name)
Set the name


setExtension

public void setExtension(String extension)
Set the extension


clone

public Object clone()
Clone this object


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.