public class DirectFile extends AbstractDirectFile<DirectFile>
con, fileFactory| Constructor and Description |
|---|
DirectFile(String path,
AbstractFileFactory<DirectFile,NoMount> fileFactory,
Connection con,
String homeDir) |
| Modifier and Type | Method and Description |
|---|---|
SftpFileAttributes |
getAttributes() |
List<AbstractFile> |
getChildren() |
createFolder, createNewFile, delete, exists, getAbsolutePath, getCanonicalPath, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isMount, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncatecopyFrom, getOutputStream, resolveFilepublic DirectFile(String path, AbstractFileFactory<DirectFile,NoMount> fileFactory, Connection con, String homeDir) throws IOException
IOExceptionpublic SftpFileAttributes getAttributes() throws FileNotFoundException
getAttributes in interface AbstractFilegetAttributes in class AbstractDirectFile<DirectFile>FileNotFoundExceptionpublic List<AbstractFile> getChildren() throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.