com.maverick.sshd.fs
Class DirectFile
java.lang.Object
com.maverick.sshd.fs.AbstractFileImpl<T,NoMount>
com.maverick.sshd.fs.AbstractDirectFile<DirectFile>
com.maverick.sshd.fs.DirectFile
- All Implemented Interfaces:
- AbstractFile
public class DirectFile
- extends AbstractDirectFile<DirectFile>
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectFile
public DirectFile(String path,
AbstractFileFactory<DirectFile,NoMount> fileFactory,
Connection con,
String homeDir)
throws IOException
- Throws:
IOException
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.