public class DirectFile extends AbstractDirectFile<DirectFile>
f, hidden, homeDircon, fileFactory| Constructor and Description |
|---|
DirectFile(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 DirectFile(String path, AbstractFileFactory<DirectFile> 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
IOExceptionpublic AbstractFile resolveFile(String child) throws IOException, PermissionDeniedException
IOExceptionPermissionDeniedExceptionCopyright © 2025. All rights reserved.