|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.ssh.ftp.client.impl.PreTransferParamsImpl
public class PreTransferParamsImpl
jim.fu@sun.com TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
| Constructor Summary | |
|---|---|
PreTransferParamsImpl(SFTPConfiguration config)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalCommand()
return the operation name that will be performed on the local end before the file transfer. |
java.lang.String |
getLocalDirName()
return the local directory name LocalDirName; |
boolean |
getLocalDirNameIsPattern()
return a boolean indicating if LocalDirName is a batch name pattern
or not. |
java.lang.String |
getLocalFileName()
return the value for LocalFileName; |
boolean |
getLocalFileNameIsPattern()
return a boolean value indicating if the LocalFileName is a batch name pattern
or not; |
java.lang.String |
getRemoteCommand()
return the operation name that will be performed on the remote end before the file transfer. |
java.lang.String |
getRemoteDirName()
return the remote directory name RemoteDirName; |
boolean |
getRemoteDirNameIsPattern()
return a boolean indicating if the RemoteDirName is a batch name pattern
or not. |
java.lang.String |
getRemoteFileName()
return the value for RemoteFileName; |
boolean |
getRemoteFileNameIsPattern()
return a boolean value indicating if the RemoteFileName is a batch name pattern
or not; |
void |
setLocalCommand(java.lang.String cmd)
set the local end command to cmd; |
void |
setLocalDirName(java.lang.String dir)
set remote directory name. |
void |
setLocalDirNameIsPattern(boolean b)
set the boolean flag indicating if the LocalDirName is a batch name pattern; |
void |
setLocalFileName(java.lang.String file)
set the name (could be a name pattern) of the local file name as Pre Transfer operation parameter. |
void |
setLocalFileNameIsPattern(boolean b)
set the flag indicating if LocalFileName is a name pattern; |
void |
setRemoteCommand(java.lang.String cmd)
set the remote command to cmd; |
void |
setRemoteDirName(java.lang.String dir)
set remote directory name RemoteDirName. |
void |
setRemoteDirNameIsPattern(boolean b)
set the boolean flag indicating if the RemoteDirName is a batch name pattern; |
void |
setRemoteFileName(java.lang.String file)
set the name (could be a name pattern) of the remote file name RemoteFileName
as Pre Transfer operation parameter. |
void |
setRemoteFileNameIsPattern(boolean b)
set the flag indicating if RemoteFileName is a name pattern; |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreTransferParamsImpl(SFTPConfiguration config)
| Method Detail |
|---|
public java.lang.String getRemoteCommand()
PreTransferParams
getRemoteCommand in interface PreTransferParamsgetRemoteCommand in interface com.stc.connector.TransferParamspublic java.lang.String getRemoteDirName()
PreTransferParamsRemoteDirName;
getRemoteDirName in interface PreTransferParamsgetRemoteDirName in interface com.stc.connector.TransferParamsRemoteDirName (could be a batch name pattern
which has to be expanded into a real remote directory name);public boolean getRemoteDirNameIsPattern()
PreTransferParamsRemoteDirName is a batch name pattern
or not.
getRemoteDirNameIsPattern in interface PreTransferParamsgetRemoteDirNameIsPattern in interface com.stc.connector.TransferParamsRemoteDirName is a batch name pattern, false - the value
for the RemoteDirName is taken as a literal;public java.lang.String getRemoteFileName()
PreTransferParamsRemoteFileName;
getRemoteFileName in interface PreTransferParamsgetRemoteFileName in interface com.stc.connector.TransferParamsRemoteFileName (could be a batch name pattern
which has to be expanded into a real remote file name);public boolean getRemoteFileNameIsPattern()
PreTransferParamsRemoteFileName is a batch name pattern
or not;
getRemoteFileNameIsPattern in interface PreTransferParamsgetRemoteFileNameIsPattern in interface com.stc.connector.TransferParamsRemoteFileName is a batch name pattern, false - the value for the
RemoteFileName is taken as a literal;public void setRemoteCommand(java.lang.String cmd)
PreTransferParamscmd;
setRemoteCommand in interface PreTransferParamssetRemoteCommand in interface com.stc.connector.TransferParamscmd - - "None", "Rename", "Copy", the pre transfer command;public void setRemoteDirName(java.lang.String dir)
PreTransferParamsRemoteDirName.
setRemoteDirName in interface PreTransferParamssetRemoteDirName in interface com.stc.connector.TransferParamsdir - - the remote directory name RemoteDirName
could be a name patternpublic void setRemoteDirNameIsPattern(boolean b)
PreTransferParamsRemoteDirName is a batch name pattern;
setRemoteDirNameIsPattern in interface PreTransferParamssetRemoteDirNameIsPattern in interface com.stc.connector.TransferParamsb - - true - the RemoteDirName is a name pattern, false - not a pattern;public void setRemoteFileName(java.lang.String file)
PreTransferParamsRemoteFileName
as Pre Transfer operation parameter.
setRemoteFileName in interface PreTransferParamssetRemoteFileName in interface com.stc.connector.TransferParamsfile - - the file name;public void setRemoteFileNameIsPattern(boolean b)
PreTransferParamsRemoteFileName is a name pattern;
setRemoteFileNameIsPattern in interface PreTransferParamssetRemoteFileNameIsPattern in interface com.stc.connector.TransferParamspublic java.lang.String getLocalCommand()
PreTransferParams
getLocalCommand in interface PreTransferParamsgetLocalCommand in interface com.stc.connector.TransferParamspublic java.lang.String getLocalDirName()
PreTransferParamsLocalDirName;
getLocalDirName in interface PreTransferParamsgetLocalDirName in interface com.stc.connector.TransferParamspublic boolean getLocalDirNameIsPattern()
PreTransferParamsLocalDirName is a batch name pattern
or not.
getLocalDirNameIsPattern in interface PreTransferParamsgetLocalDirNameIsPattern in interface com.stc.connector.TransferParamsLocalDirName is a batch name pattern, false - the value
for the LocalDirName is taken as a literal;public java.lang.String getLocalFileName()
PreTransferParamsLocalFileName;
getLocalFileName in interface PreTransferParamsgetLocalFileName in interface com.stc.connector.TransferParamspublic boolean getLocalFileNameIsPattern()
PreTransferParamsLocalFileName is a batch name pattern
or not;
getLocalFileNameIsPattern in interface PreTransferParamsgetLocalFileNameIsPattern in interface com.stc.connector.TransferParamsLocalFileName is a batch name pattern, false - the value for the
LocalFileName is taken as a literal;public void setLocalCommand(java.lang.String cmd)
PreTransferParamscmd;
setLocalCommand in interface PreTransferParamssetLocalCommand in interface com.stc.connector.TransferParamscmd - - "None", "Rename", "Copy", the pre transfer command;public void setLocalDirName(java.lang.String dir)
PreTransferParams
setLocalDirName in interface PreTransferParamssetLocalDirName in interface com.stc.connector.TransferParamspublic void setLocalDirNameIsPattern(boolean b)
PreTransferParamsLocalDirName is a batch name pattern;
setLocalDirNameIsPattern in interface PreTransferParamssetLocalDirNameIsPattern in interface com.stc.connector.TransferParamsb - - true - the LocalDirName is a name pattern, false - not a pattern;public void setLocalFileName(java.lang.String file)
PreTransferParams
setLocalFileName in interface PreTransferParamssetLocalFileName in interface com.stc.connector.TransferParamsfile - - the file name;public void setLocalFileNameIsPattern(boolean b)
PreTransferParamsLocalFileName is a name pattern;
setLocalFileNameIsPattern in interface PreTransferParamssetLocalFileNameIsPattern in interface com.stc.connector.TransferParams
|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||