Secure iNet Factory

com.jscape.inet.sftp.requests
Class RealPathRequest

java.lang.Object
  extended by com.jscape.inet.sftp.requests.RealPathRequest
All Implemented Interfaces:
Request

public class RealPathRequest
extends java.lang.Object
implements Request

Real path request.

Version:
1.0
Author:
Alex
See Also:
Source code

Constructor Summary
RealPathRequest()
           
 
Method Summary
 void execute(SftpClient client)
          Executes request.
 java.lang.String getPath()
          Returns target path.
 java.lang.String getRealPath(java.lang.String charset)
          Returns real path.
 boolean isValid()
          Checks if request is in valid state.
 void setPath(java.lang.String path)
          Sets target path.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealPathRequest

public RealPathRequest()
Method Detail

getPath

public java.lang.String getPath()
Returns target path.

Returns:
target path

setPath

public void setPath(java.lang.String path)
Sets target path.

Parameters:
path - target path

getRealPath

public java.lang.String getRealPath(java.lang.String charset)
Returns real path.

Returns:
real path

isValid

public boolean isValid()
Description copied from interface: Request
Checks if request is in valid state.

Specified by:
isValid in interface Request
Returns:
true if request is valid; false otherwise
See Also:
Request.isValid()

execute

public void execute(SftpClient client)
             throws SftpException
Description copied from interface: Request
Executes request.

Specified by:
execute in interface Request
Parameters:
client - client
Throws:
SftpException - if an error occurs
See Also:
Request.execute(com.jscape.inet.sftp.SftpClient)

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved