public class DirectFile extends AbstractDirectFile<DirectFile>
f, hidden, homeDirfileFactory| Constructor and Description |
|---|
DirectFile(java.lang.String path,
AbstractFileFactory<DirectFile> fileFactory,
java.io.File homeDir) |
| Modifier and Type | Method and Description |
|---|---|
SftpFileAttributes |
getAttributes() |
java.util.List<AbstractFile> |
getChildren() |
java.lang.String |
readSymbolicLink() |
AbstractFile |
resolveFile(java.lang.String child) |
createFolder, createNewFile, delete, doEquals, doHashCode, exists, getAbsolutePath, getCanonicalPath, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncatecopyFrom, equals, getFileFactory, getOutputStream, hashCode, linkTo, symlinkTopublic DirectFile(java.lang.String path,
AbstractFileFactory<DirectFile> fileFactory,
java.io.File homeDir)
throws java.io.IOException
java.io.IOExceptionpublic SftpFileAttributes getAttributes() throws java.io.IOException
getAttributes in interface AbstractFilegetAttributes in class AbstractDirectFile<DirectFile>java.io.IOExceptionpublic java.util.List<AbstractFile> getChildren() throws java.io.IOException
java.io.IOExceptionpublic AbstractFile resolveFile(java.lang.String child) throws java.io.IOException, PermissionDeniedException
java.io.IOExceptionPermissionDeniedExceptionpublic java.lang.String readSymbolicLink()
throws java.io.IOException,
PermissionDeniedException
java.io.IOExceptionPermissionDeniedExceptionCopyright © 2022. All rights reserved.