com.maverick.sshd.fs
Class DirectFile

java.lang.Object
  extended by com.maverick.sshd.fs.AbstractFileImpl<T,NoMount>
      extended by com.maverick.sshd.fs.AbstractDirectFile<DirectFile>
          extended by com.maverick.sshd.fs.DirectFile
All Implemented Interfaces:
AbstractFile

public class DirectFile
extends AbstractDirectFile<DirectFile>


Field Summary
 
Fields inherited from class com.maverick.sshd.fs.AbstractFileImpl
con, fileFactory
 
Constructor Summary
DirectFile(String path, AbstractFileFactory<DirectFile,NoMount> fileFactory, Connection con, String homeDir)
           
 
Method Summary
 SftpFileAttributes getAttributes()
           
 List<AbstractFile> getChildren()
           
 
Methods inherited from class com.maverick.sshd.fs.AbstractDirectFile
createFolder, createNewFile, delete, exists, getAbsolutePath, getCanonicalPath, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isMount, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncate
 
Methods inherited from class com.maverick.sshd.fs.AbstractFileImpl
copyFrom, getOutputStream, resolveFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectFile

public DirectFile(String path,
                  AbstractFileFactory<DirectFile,NoMount> fileFactory,
                  Connection con,
                  String homeDir)
           throws IOException
Throws:
IOException
Method Detail

getAttributes

public SftpFileAttributes getAttributes()
                                 throws FileNotFoundException
Specified by:
getAttributes in interface AbstractFile
Specified by:
getAttributes in class AbstractDirectFile<DirectFile>
Throws:
FileNotFoundException

getChildren

public List<AbstractFile> getChildren()
                               throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.