com.ssh.sft
Class SymLink

java.lang.Object
  extended bycom.ssh.sft.SftLib
      extended bycom.ssh.sft.SftBase
          extended bycom.ssh.sft.File
              extended bycom.ssh.sft.SymLink
All Implemented Interfaces:
SftLibConstants, com.ssh.sft.SshSftFileType

public class SymLink
extends File

A symbolic link. Symbolic links are files that contain only a reference to another file.


Field Summary
 
Fields inherited from class com.ssh.sft.File
SSH_SFT_FILE_TYPE_DIRECTORY, SSH_SFT_FILE_TYPE_REGULAR, SSH_SFT_FILE_TYPE_SPECIAL, SSH_SFT_FILE_TYPE_SYMLINK, SSH_SFT_FILE_TYPE_UNKNOWN
 
Fields inherited from interface com.ssh.sft.SftLibConstants
SSH_SFT_API_VERSION, SSH_SFT_DIR_RECURSIVE, SSH_SFT_HASH_MAX_BLOCK_SIZE, SSH_SFT_HASH_MAX_ITERATIONS, SSH_SFT_HASH_MIN_BLOCK_SIZE, SSH_SFT_REQUEST_MAX_NUM, SSH_SFT_REQUEST_MAX_SIZE
 
Constructor Summary
SymLink()
           
 
Method Summary
 Location readLink()
          Returns the Location that this link references.
 
Methods inherited from class com.ssh.sft.File
copy, copy, getAttributes, getGroup, getLocation, getOwner, getPath, getSession, getSize, getURI, move, remove, rename, setAttributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymLink

public SymLink()
Method Detail

readLink

public Location readLink()
                  throws SftException
Returns the Location that this link references.

Returns:
the location that this link references
Throws:
SftException