public class DirectFileJava7 extends DirectFile
f, hidden, homeDircon, 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, truncatecopyFrom, getFileFactory, getOutputStreampublic DirectFileJava7(String path, AbstractFileFactory<DirectFile> fileFactory, Connection con, String homeDir) throws IOException
IOExceptionpublic SftpFileAttributes getAttributes() throws FileNotFoundException
getAttributes in interface AbstractFilegetAttributes in class DirectFileFileNotFoundExceptionpublic List<AbstractFile> getChildren() throws IOException
getChildren in interface AbstractFilegetChildren in class DirectFileIOExceptionpublic AbstractFile resolveFile(String child) throws IOException, PermissionDeniedException
resolveFile in interface AbstractFileresolveFile in class DirectFileIOExceptionPermissionDeniedExceptionCopyright © 2025. All rights reserved.