public class DirectFileJava7 extends DirectFile
f, hidden, homeDir
con, fileFactory
Constructor and Description |
---|
DirectFileJava7(String path,
AbstractFileFactory<DirectFile> fileFactory,
Connection con,
String homeDir) |
Modifier and Type | Method and Description |
---|---|
SftpFileAttributes |
getAttributes() |
List<AbstractFile> |
getChildren() |
AbstractFile |
resolveFile(String child) |
createFolder, createNewFile, delete, exists, getAbsolutePath, getCanonicalPath, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncate
copyFrom, getFileFactory, getOutputStream
public DirectFileJava7(String path, AbstractFileFactory<DirectFile> fileFactory, Connection con, String homeDir) throws IOException
IOException
public SftpFileAttributes getAttributes() throws FileNotFoundException
getAttributes
in interface AbstractFile
getAttributes
in class DirectFile
FileNotFoundException
public List<AbstractFile> getChildren() throws IOException
getChildren
in interface AbstractFile
getChildren
in class DirectFile
IOException
public AbstractFile resolveFile(String child) throws IOException, PermissionDeniedException
resolveFile
in interface AbstractFile
resolveFile
in class DirectFile
IOException
PermissionDeniedException
Copyright © 2024. All rights reserved.