com.maverick.sshd.fs
Class VirtualMappedFile

java.lang.Object
  extended by com.maverick.sshd.fs.AbstractFileAdapter
      extended by com.maverick.sshd.fs.VirtualMappedFile
All Implemented Interfaces:
VirtualFile, AbstractFile

public class VirtualMappedFile
extends AbstractFileAdapter
implements VirtualFile


Method Summary
 String getAbsolutePath()
           
 String getCanonicalPath()
           
 List<AbstractFile> getChildren()
           
 AbstractFile resolveFile(String child)
           
protected  String translateCanonicalPath(String path, String securemount)
           
 
Methods inherited from class com.maverick.sshd.fs.AbstractFileAdapter
copyFrom, createFolder, createNewFile, delete, exists, getAttributes, getInputStream, getName, getOutputStream, getOutputStream, init, isDirectory, isFile, isHidden, isMount, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.maverick.sshd.sftp.AbstractFile
copyFrom, createFolder, createNewFile, delete, exists, getAttributes, getInputStream, getName, getOutputStream, getOutputStream, isDirectory, isFile, isHidden, isMount, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncate
 

Method Detail

getChildren

public List<AbstractFile> getChildren()
                               throws IOException,
                                      PermissionDeniedException
Specified by:
getChildren in interface AbstractFile
Overrides:
getChildren in class AbstractFileAdapter
Throws:
IOException
PermissionDeniedException

getAbsolutePath

public String getAbsolutePath()
                       throws IOException,
                              PermissionDeniedException
Specified by:
getAbsolutePath in interface AbstractFile
Overrides:
getAbsolutePath in class AbstractFileAdapter
Throws:
IOException
PermissionDeniedException

getCanonicalPath

public String getCanonicalPath()
                        throws IOException,
                               PermissionDeniedException
Specified by:
getCanonicalPath in interface AbstractFile
Overrides:
getCanonicalPath in class AbstractFileAdapter
Throws:
IOException
PermissionDeniedException

resolveFile

public AbstractFile resolveFile(String child)
                         throws PermissionDeniedException,
                                IOException
Specified by:
resolveFile in interface AbstractFile
Overrides:
resolveFile in class AbstractFileAdapter
Throws:
PermissionDeniedException
IOException

translateCanonicalPath

protected String translateCanonicalPath(String path,
                                        String securemount)
                                 throws FileNotFoundException,
                                        IOException,
                                        PermissionDeniedException
Throws:
FileNotFoundException
IOException
PermissionDeniedException


Copyright © 2012. All Rights Reserved.